gabrielgio.lua @ f4168dd73f11a896ed00180fec5b5159a4019ade

Update nvim usage along with enable dark theme
  1diff --git a/init.lua b/init.lua
  2index cb0e376b5135f5d6dfb7989e4e625a8727e86d59..c7f1455353be3e1c1e91822bf9bfbc223d0d0d02 100644
  3--- a/init.lua
  4+++ b/init.lua
  5@@ -31,11 +31,10 @@     "nvim-telescope/telescope-file-browser.nvim",   -- telescope file browser
  6     "TimUntersberger/neogit",                       -- magit
  7     "vimwiki/vimwiki",                              -- wiki
  8     "f-person/git-blame.nvim",                      -- more git info
  9-    "echasnovski/mini.nvim",                        -- provides many things
 10+    "nvim-mini/mini.nvim",                          -- provides many things
 11     "mhartington/formatter.nvim",                   -- provider formatter
 12     "mfussenegger/nvim-lint",                       -- general linter
 13     "nvim-treesitter/nvim-treesitter-context",      -- show context of where it is at the code
 14-    "theHamsta/nvim-dap-virtual-text",              -- support lib from tree sitter
 15     "mbbill/undotree",                              -- keep track of undos
 16     "hedyhli/outline.nvim",                         -- symbols tree (lsp aware)
 17     "akinsho/toggleterm.nvim",                      -- terminal
 18@@ -61,11 +60,11 @@ })
 19 
 20 -- work related ai plugins
 21 if vim.fn.executable("copilot") == 1 then
 22-	table.insert(pkgs, "github/copilot.vim") -- copilot
 23+	table.insert(pkgs, "github/copilot.vim")
 24 end
 25 
 26 if vim.fn.executable("claude") == 1 then
 27-	table.insert(pkgs, "coder/claudecode.nvim") -- claude
 28+	table.insert(pkgs, "coder/claudecode.nvim")
 29 end
 30 
 31 for _, value in ipairs(pkgs) do
 32diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua
 33index e8b76ccb0895af00a90fde2401abaa276e4c9263..03e68d19a7f2527cd7a9af1840ead09747fc2a1f 100644
 34--- a/lua/gabrielgio/lazy.lua
 35+++ b/lua/gabrielgio/lazy.lua
 36@@ -3,7 +3,6 @@ -- config file and will be lazily loaded
 37 require("gitblame").setup()
 38 require("neogit").setup()
 39 require("mason").setup()
 40-require("nvim-dap-virtual-text").setup()
 41 require("treesitter-context").setup()
 42 require("mason-lspconfig").setup({
 43 	ensure_installed = {
 44@@ -19,3 +18,22 @@ 		"zls",
 45 		-- "clangd" not working on alpine
 46 	},
 47 })
 48+
 49+vim.diagnostic.config({
 50+	signs = {
 51+		text = {
 52+			[vim.diagnostic.severity.ERROR] = "",
 53+			[vim.diagnostic.severity.WARN] = "",
 54+			[vim.diagnostic.severity.INFO] = "",
 55+			[vim.diagnostic.severity.HINT] = "",
 56+		},
 57+	},
 58+	virtual_text = false,
 59+	virtual_lines = {
 60+		format = function(d)
 61+			return d.message
 62+		end,
 63+		current_line = true,
 64+	},
 65+	severity_sort = true,
 66+})
 67diff --git a/lua/gabrielgio/mini.lua b/lua/gabrielgio/mini.lua
 68index 087e5bee21ced45915c755d732f1d926f52f1d34..bc5f347a1344cf3c5e71368d6174f34012a7808a 100644
 69--- a/lua/gabrielgio/mini.lua
 70+++ b/lua/gabrielgio/mini.lua
 71@@ -5,6 +5,8 @@ local notify = require("mini.notify")
 72 local status = require("mini.statusline")
 73 local tabline = require("mini.tabline")
 74 local ai = require("mini.ai")
 75+local trailspace = require("mini.trailspace")
 76+local indentscope = require("mini.indentscope")
 77 
 78 cmp.setup()
 79 diff.setup({ view = { style = "sign" } })
 80@@ -13,3 +15,9 @@ notify.setup()
 81 status.setup()
 82 tabline.setup()
 83 ai.setup()
 84+trailspace.setup()
 85+indentscope.setup({
 86+	draw = {
 87+		animation = indentscope.gen_animation.none(),
 88+	},
 89+})
 90diff --git a/lua/gabrielgio/settable.lua b/lua/gabrielgio/settable.lua
 91index 76aa8d67bf5dd24b8e0c4c202b9c224374316ecc..8c4814b335e53031d619fc4c9a01facf3066f858 100644
 92--- a/lua/gabrielgio/settable.lua
 93+++ b/lua/gabrielgio/settable.lua
 94@@ -47,7 +47,7 @@ vim.opt.updatetime = 100
 95 vim.opt.foldmethod = "expr"
 96 vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
 97 vim.opt.foldenable = false
 98-vim.o.background = "light"
 99+vim.o.background = "dark"
100 if 1 == 1 then
101 	vim.cmd("colorscheme edge")
102 else