forked from Shinonome/fred-neovim
Swapped Supermaven for AugmentCode
This commit is contained in:
+12
-21
@@ -9,38 +9,29 @@
|
||||
};
|
||||
nvimSkipModule = "outline.providers.norg";
|
||||
};
|
||||
augment-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "augment-nvim";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "augmentcode";
|
||||
repo = "augment.vim";
|
||||
rev = "e14cbe9fdc33dff1a4b55c0fc858b94f5e833862";
|
||||
hash = "sha256-VzHFmt8uOsZEYqIGAbwSrmGLlOfTnL7QvsRB5yMpSG0=";
|
||||
};
|
||||
nvimSkipModule = "outline.providers.norg";
|
||||
};
|
||||
in {
|
||||
extraPlugins = with pkgs; [
|
||||
vimPlugins.supermaven-nvim # AI code completion
|
||||
vimPlugins.vim-dadbod # DB client
|
||||
vimPlugins.vim-dadbod-completion # DB completion
|
||||
vimPlugins.vim-dadbod-ui # DB UI
|
||||
vimPlugins.vim-tmux-navigator # tmux navigation
|
||||
outline-nvim
|
||||
outline-nvim # Document outliner
|
||||
augment-nvim # AI code completion
|
||||
];
|
||||
|
||||
extraConfigLua = ''
|
||||
require("telescope").load_extension('harpoon')
|
||||
|
||||
require("supermaven-nvim").setup({
|
||||
keymaps = {
|
||||
accept_suggestion = "<Tab>",
|
||||
clear_suggestion = "<C-]>",
|
||||
accept_word = "<C-j>",
|
||||
},
|
||||
ignore_filetypes = { cpp = true }, -- or { "cpp", }
|
||||
color = {
|
||||
suggestion_color = "#ffffff",
|
||||
cterm = 244,
|
||||
},
|
||||
log_level = "info", -- set to "off" to disable logging completely
|
||||
disable_inline_completion = false, -- disables inline completion for use with cmp
|
||||
disable_keymaps = false, -- disables built in keymaps for more manual control
|
||||
condition = function()
|
||||
return false
|
||||
end -- condition to check for stopping supermaven, `true` means to stop supermaven when the condition is true.
|
||||
})
|
||||
|
||||
require("notify").setup({
|
||||
background_colour = "#000000",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user