Remove copilot plugins since it's rarely useful and often hides autocomplete
This commit is contained in:
parent
5951004562
commit
326431a4f4
1 changed files with 0 additions and 45 deletions
|
|
@ -20,28 +20,6 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
copilot-lua = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "copilot.lua";
|
||||
version = "2024-06-18";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "zbirenbaum";
|
||||
repo = "copilot.lua";
|
||||
rev = "86537b286f18783f8b67bccd78a4ef4345679625";
|
||||
sha256 = "sha256-HC1QZlqEg+RBz/8kjLadafc06UoMAjhh0UO/BWQGMY8=";
|
||||
};
|
||||
};
|
||||
|
||||
copilot-cmp = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "copilot-cmp";
|
||||
version = "2024-06-18";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "zbirenbaum";
|
||||
repo = "copilot-cmp";
|
||||
rev = "c2cdb3c0f5078b0619055af192295830a7987790";
|
||||
sha256 = "sha256-+MzEGnhlrYRvAfskOwmw69OC1CsPXt7s3z+xPe9XPqs=";
|
||||
};
|
||||
};
|
||||
|
||||
vim-precognition = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "vim-precognition";
|
||||
version = "2024-05-26";
|
||||
|
|
@ -176,29 +154,6 @@ with builtins;
|
|||
nnoremap <leader>fh <cmd>lua require('telescope.builtin').help_tags()<cr>
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = copilot-lua;
|
||||
config = ''
|
||||
lua << EOF
|
||||
vim.defer_fn(function()
|
||||
require('copilot').setup({
|
||||
-- Disable these features because we're also using copilot-cmp
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false },
|
||||
copilot_node_command = '${pkgs.nodejs-18_x}/bin/node',
|
||||
})
|
||||
end, 100)
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = copilot-cmp;
|
||||
config = ''
|
||||
lua << EOF
|
||||
require('copilot_cmp').setup({})
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
# have the completion plugin get loaded last just in case anything above
|
||||
# needs to do setup work before completions get set up.
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue