aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel A. Giovanini <g.giovanini@gridx.de>2025-10-16 17:29:12 +0200
committerGabriel A. Giovanini <g.giovanini@gridx.de>2025-10-16 17:29:12 +0200
commitaac0e96aee64454f30032ee9ceb39ce0066b566d (patch)
tree127f57240f706f36e1b02b15534ce4d7d27de078 /init.lua
parente1a6a6ac3799687bb44ca61799655e004bfb9899 (diff)
downloadgabrielgio.lua-aac0e96aee64454f30032ee9ceb39ce0066b566d.tar.gz
gabrielgio.lua-aac0e96aee64454f30032ee9ceb39ce0066b566d.tar.bz2
gabrielgio.lua-aac0e96aee64454f30032ee9ceb39ce0066b566d.zip
Update some go shortcut
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua23
1 files changed, 13 insertions, 10 deletions
diff --git a/init.lua b/init.lua
index cd12bf6..cb0e376 100644
--- a/init.lua
+++ b/init.lua
@@ -25,7 +25,6 @@ local pkgs = {
"mfussenegger/nvim-dap", -- add dap support
"nvim-neotest/nvim-nio", -- async support library
"rcarriga/nvim-dap-ui", -- dap ui
- "leoluz/nvim-dap-go", -- dap go
"nvim-lua/plenary.nvim", -- base lib
"nvim-telescope/telescope.nvim", -- telescope
"nvim-telescope/telescope-file-browser.nvim", -- telescope file browser
@@ -36,8 +35,9 @@ local pkgs = {
"mhartington/formatter.nvim", -- provider formatter
"mfussenegger/nvim-lint", -- general linter
"nvim-treesitter/nvim-treesitter-context", -- show context of where it is at the code
+ "theHamsta/nvim-dap-virtual-text", -- support lib from tree sitter
"mbbill/undotree", -- keep track of undos
- "simrat39/symbols-outline.nvim", -- symbols tree (lsp aware)
+ "hedyhli/outline.nvim", -- symbols tree (lsp aware)
"akinsho/toggleterm.nvim", -- terminal
"RRethy/vim-illuminate", -- hightlight use of the same word (lsp aware)
"sainnhe/edge", -- light theme
@@ -46,6 +46,7 @@ local pkgs = {
"williamboman/mason-lspconfig.nvim", -- glue mason and lspconfig
"neovim/nvim-lspconfig", -- lsp support
"vimwiki/vimwiki", -- wiki
+ "ray-x/go.nvim", -- go things
}
-- stylua: ignore end
@@ -57,14 +58,16 @@ add({
end,
},
})
-add({
- source = "fatih/vim-go",
- hooks = {
- post_checkout = function()
- vim.cmd("GoUpdateBinaries")
- end,
- },
-})
+
+-- work related ai plugins
+if vim.fn.executable("copilot") == 1 then
+ table.insert(pkgs, "github/copilot.vim") -- copilot
+end
+
+if vim.fn.executable("claude") == 1 then
+ table.insert(pkgs, "coder/claudecode.nvim") -- claude
+end
+
for _, value in ipairs(pkgs) do
add({ source = value })
end