diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e033bc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +lazy-lock.json diff --git a/lua/clewis/lazy.lua b/lua/clewis/lazy.lua index db49f6d..f678f85 100644 --- a/lua/clewis/lazy.lua +++ b/lua/clewis/lazy.lua @@ -11,4 +11,12 @@ end vim.opt.rtp:prepend(lazypath) -require("lazy").setup("clewis.plugins") +require("lazy").setup("clewis.plugins", { + checker = { + enabled = true, + notify = false, + }, + change_detection = { + notify = false, + }, +}) diff --git a/lua/clewis/plugins/bufferline.lua b/lua/clewis/plugins/bufferline.lua new file mode 100644 index 0000000..32b85d4 --- /dev/null +++ b/lua/clewis/plugins/bufferline.lua @@ -0,0 +1,11 @@ +return { + "akinsho/bufferline.nvim", + dependencies = {"nvim-tree/nvim-web-devicons"}, + version = "*", + opts = { + options = { + mode = "tabs", + separator_style = "slant", + }, + }, +} diff --git a/lua/clewis/plugins/lualine.lua b/lua/clewis/plugins/lualine.lua new file mode 100644 index 0000000..b189081 --- /dev/null +++ b/lua/clewis/plugins/lualine.lua @@ -0,0 +1,66 @@ +return { + "nvim-lualine/lualine.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + config = function() + local lualine = require("lualine") + local lazy_status = require("lazy.status") + + local colors = { + blue = "#65D1FF", + green = "#3EFFDC", + violet = "#FF61EF", + yellow = "#FFDA78", + red = "#FF4A4A", + fg = "#C3CCDC", + bg = "#112638", + inactive_bg = "#2C3043", + } + + local my_lualine_theme = { + normal = { + a = { bg = colors.blue, fg = colors.bg, gui = "bold" }, + b = { bg = colors.bg, fg = colors.fg }, + c = { bg = colors.bg, fg = colors.fg }, + }, + insert = { + a = { bg = colors.green, fg = colors.bg, gui = "bold" }, + b = { bg = colors.bg, fg = colors.fg }, + c = { bg = colors.bg, fg = colors.fg }, + }, + visual = { + a = { bg = colors.violet, fg = colors.bg, gui = "bold" }, + b = { bg = colors.bg, fg = colors.fg }, + c = { bg = colors.bg, fg = colors.fg }, + }, + command = { + a = { bg = colors.yellow, fg = colors.bg, gui = "bold" }, + b = { bg = colors.bg, fg = colors.fg }, + c = { bg = colors.bg, fg = colors.fg }, + }, + inactive = { + a = { bg = colors.inactive_bg, fg = colors.semilightgray, gui = "bold" }, + b = { bg = colors.inactive_bg, fg = colors.semilightgray}, + c = { bg = colors.inactive_bg, fg = colors.semilightgray}, + }, + } + + lualine.setup({ + options = { + theme = my_lualine_theme, + }, + + sections = { + lualine_x = { + { + lazy_status.updates, + cond = lazy_status.has_updates, + color = { fg = "#FF9E64" }, + }, + { "encoding" }, + { "fileformat" }, + { "filetype" }, + }, + }, + }) + end, +}