feat(neovim): add supermaven copilot like plugin #173

Merged
joao.dubas merged 5 commits from jpd-use-supermaven into main 2025-02-09 20:15:52 +00:00
2 changed files with 22 additions and 4 deletions

View File

@ -264,4 +264,14 @@ return {
}, },
}, },
}, },
{
'supermaven-inc/supermaven-nvim',
opts = {
keymaps = {
accept_suggestion = '<C-y>',
clear_suggestion = '<C-d>',
accept_word = '<C-j>',
},
},
},
} }

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index 4eae8e7..b9f7554 100644 index 4eae8e7..f2609ec 100644
--- a/init.lua --- a/init.lua
+++ b/init.lua +++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@ -134,7 +134,15 @@ index 4eae8e7..b9f7554 100644
require('lspconfig')[server_name].setup(server) require('lspconfig')[server_name].setup(server)
end, end,
}, },
@@ -844,12 +926,19 @@ require('lazy').setup({ @@ -830,6 +912,7 @@ require('lazy').setup({
-- set group index to 0 to skip loading LuaLS completions as lazydev recommends it
group_index = 0,
},
+ { name = 'supermavem' },
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'path' },
@@ -844,12 +927,19 @@ require('lazy').setup({
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim', 'folke/tokyonight.nvim',
@ -155,7 +163,7 @@ index 4eae8e7..b9f7554 100644
-- You can configure highlights by doing something like: -- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none' vim.cmd.hi 'Comment gui=none'
@@ -902,7 +991,39 @@ require('lazy').setup({ @@ -902,7 +992,39 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
@ -196,7 +204,7 @@ index 4eae8e7..b9f7554 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -932,17 +1053,17 @@ require('lazy').setup({ @@ -932,17 +1054,17 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',