mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
plugins/nvim-cmp: refactoring (init filetype and cmdline options)
This commit is contained in:
parent
22b587f3dc
commit
a61c8fbc3d
26 changed files with 1166 additions and 948 deletions
|
@ -1,66 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with helpers.vim-plugin;
|
||||
with lib; {
|
||||
mkCmpSourcePlugin = {
|
||||
name,
|
||||
extraPlugins ? [],
|
||||
useDefaultPackage ? true,
|
||||
...
|
||||
}:
|
||||
mkVimPlugin config {
|
||||
inherit name;
|
||||
extraPlugins = extraPlugins ++ (lists.optional useDefaultPackage pkgs.vimPlugins.${name});
|
||||
maintainers = [maintainers.GaetanLepage];
|
||||
};
|
||||
|
||||
pluginAndSourceNames = {
|
||||
"buffer" = "cmp-buffer";
|
||||
"calc" = "cmp-calc";
|
||||
"dap" = "cmp-dap";
|
||||
"cmdline" = "cmp-cmdline";
|
||||
"cmp-clippy" = "cmp-clippy";
|
||||
"cmp-cmdline-history" = "cmp-cmdline-history";
|
||||
"cmp_pandoc" = "cmp-pandoc-nvim";
|
||||
"cmp_tabby" = "cmp-tabby";
|
||||
"cmp_tabnine" = "cmp-tabnine";
|
||||
"codeium" = "codeium-nvim";
|
||||
"conventionalcommits" = "cmp-conventionalcommits";
|
||||
"copilot" = "copilot-cmp";
|
||||
"crates" = "crates-nvim";
|
||||
"dictionary" = "cmp-dictionary";
|
||||
"digraphs" = "cmp-digraphs";
|
||||
"emoji" = "cmp-emoji";
|
||||
"fish" = "cmp-fish";
|
||||
"fuzzy_buffer" = "cmp-fuzzy-buffer";
|
||||
"fuzzy_path" = "cmp-fuzzy-path";
|
||||
"git" = "cmp-git";
|
||||
"greek" = "cmp-greek";
|
||||
"latex_symbols" = "cmp-latex-symbols";
|
||||
"look" = "cmp-look";
|
||||
"luasnip" = "cmp_luasnip";
|
||||
"nvim_lsp" = "cmp-nvim-lsp";
|
||||
"nvim_lsp_document_symbol" = "cmp-nvim-lsp-document-symbol";
|
||||
"nvim_lsp_signature_help" = "cmp-nvim-lsp-signature-help";
|
||||
"nvim_lua" = "cmp-nvim-lua";
|
||||
"npm" = "cmp-npm";
|
||||
"omni" = "cmp-omni";
|
||||
"pandoc_references" = "cmp-pandoc-references";
|
||||
"path" = "cmp-path";
|
||||
"rg" = "cmp-rg";
|
||||
"snippy" = "cmp-snippy";
|
||||
"spell" = "cmp-spell";
|
||||
"tmux" = "cmp-tmux";
|
||||
"treesitter" = "cmp-treesitter";
|
||||
"ultisnips" = "cmp-nvim-ultisnips";
|
||||
"vim_lsp" = "cmp-vim-lsp";
|
||||
"vimwiki-tags" = "cmp-vimwiki-tags";
|
||||
"vsnip" = "cmp-vsnip";
|
||||
"zsh" = "cmp-zsh";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue