trying fixes for cmp

This commit is contained in:
Arthur Wambst 2025-04-23 20:28:47 +02:00
parent 8ac8bce9b3
commit 6abaecda40
2 changed files with 24 additions and 2 deletions

View File

@ -314,6 +314,18 @@
"url": "https://github.com/neovim/nvim-lspconfig"
}
},
"plugin-vim-vsnip": {
"flake": false,
"locked": {
"narHash": "sha256-6l/g/qubjkDpsI6u0VlkmbK6+pT8IKJ/GKJrbfQURPk=",
"type": "file",
"url": "https://github.com/hrsh7th/vim-vsnip"
},
"original": {
"type": "file",
"url": "https://github.com/hrsh7th/vim-vsnip"
}
},
"root": {
"inputs": {
"neovim": "neovim",
@ -326,7 +338,8 @@
"plugin-cmp-vsnip": "plugin-cmp-vsnip",
"plugin-dracula": "plugin-dracula",
"plugin-gruvbox": "plugin-gruvbox",
"plugin-lsp": "plugin-lsp"
"plugin-lsp": "plugin-lsp",
"plugin-vim-vsnip": "plugin-vim-vsnip"
}
},
"treefmt-nix": {

View File

@ -59,6 +59,15 @@
];
programs.neovim = {
enable = true;
packages.myTetspkg = {
start = [
(pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "nvim-cmp";
version = "latest";
src = inputs.plugin-cmp;
})
];
};
configure.customRC = ''
set runtimepath+=${inputs.plugin-dracula}
set runtimepath+=${inputs.plugin-lsp}