diff --git a/init.lua b/init.lua index ea1678c..55a8823 100644 --- a/init.lua +++ b/init.lua @@ -48,5 +48,3 @@ require("lazy").setup("plugins", { }, }) --- Setup custom statusline -require("config.statusline").setup() diff --git a/lazy-lock.json b/lazy-lock.json index 390e76d..5a408bc 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -6,13 +6,17 @@ "fzf-lua": { "branch": "main", "commit": "36d60dd59cd9bc0442352119fc0e45e1c9011e03" }, "gitsigns.nvim": { "branch": "main", "commit": "1ce96a464fdbc24208e24c117e2021794259005d" }, "gruvbox.nvim": { "branch": "main", "commit": "a472496e1a4465a2dd574389dcf6cdb29af9bf1b" }, + "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "ae609525ddf01c153c39305730b1791800ffe4fe" }, "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-lspconfig": { "branch": "master", "commit": "59cd07d8df2fefde32556268b8d52606a32152a1" }, + "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter-textobjects": { "branch": "main", "commit": "a0e182ae21fda68c59d1f36c9ed45600aef50311" }, "nvim-web-devicons": { "branch": "master", "commit": "746ffbb17975ebd6c40142362eee1b0249969c5c" }, @@ -20,6 +24,7 @@ "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, "snacks.nvim": { "branch": "main", "commit": "fe7cfe9800a182274d0f868a74b7263b8c0c020b" }, "supermaven-nvim": { "branch": "main", "commit": "07d20fce48a5629686aefb0a7cd4b25e33947d50" }, + "twilight.nvim": { "branch": "main", "commit": "664e752f4a219801265cc3fc18782b457b58c1e1" }, "vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" }, "vim-gutentags": { "branch": "master", "commit": "aa47c5e29c37c52176c44e61c780032dfacef3dd" }, "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 66486b1..2ce0b81 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -1,21 +1,63 @@ return { - -- Gruvbox Material colorscheme + -- Gruvbox colorscheme { "ellisonleao/gruvbox.nvim", lazy = false, priority = 1000, config = function() - vim.g.gruvbox_material_background = "medium" - vim.g.gruvbox_material_foreground = "material" - vim.g.gruvbox_material_enable_italic = true - vim.g.gruvbox_material_enable_bold = true - vim.g.gruvbox_material_better_performance = true - vim.g.gruvbox_material_diagnostic_text_highlight = true - vim.g.gruvbox_material_diagnostic_virtual_text = "colored" + require("gruvbox").setup({ + terminal_colors = true, + undercurl = true, + underline = false, + bold = true, + italic = { + strings = false, + emphasis = false, + comments = true, + operators = false, + folds = false, + }, + strikethrough = true, + invert_selection = false, + invert_signs = false, + invert_tabline = false, + invert_intend_guides = false, + inverse = true, + contrast = "hard", + palette_overrides = {}, + overrides = {}, + dim_inactive = false, + transparent_mode = true, + }) vim.cmd.colorscheme("gruvbox") end, }, + -- Lualine statusline + { + "nvim-lualine/lualine.nvim", + lazy = false, + dependencies = { "nvim-tree/nvim-web-devicons" }, + config = function() + require("lualine").setup({ + options = { + theme = "gruvbox", + icons_enabled = false, + component_separators = "", + section_separators = "", + }, + sections = { + lualine_a = { "mode" }, + lualine_b = { "branch", "diff" }, + lualine_c = { { "filename", path = 1 } }, + lualine_x = { "diagnostics" }, + lualine_y = { "filetype" }, + lualine_z = { "location" }, + }, + }) + end, + }, + -- Dashboard { "nvimdev/dashboard-nvim",