feat(nvim): added omni & async path

This commit is contained in:
Marvin Drescher
2024-01-15 08:19:47 +01:00
parent 133520eeb6
commit 24e994dfde
2 changed files with 28 additions and 8 deletions

View File

@@ -46,10 +46,11 @@ in
nvim-dap-ui
nvim-notify
nvim-cmp
cmp-omni
cmp-nvim-lsp
cmp-nvim-lua
cmp-buffer
cmp-path
cmp-async-path
cmp-spell
cmp-vsnip
cmp-conventionalcommits
@@ -85,9 +86,9 @@ in
pathsLua = pkgs.writeTextFile {
name = "nvim-deps.lua";
text = ''
return {
${concatStringsSep ",\n " (mapAttrsToList (name: path: ''${name}_path = "${path}"'') paths)}
}
deps = {}
${concatStringsSep "\n " (mapAttrsToList (name: path: ''deps["${name}_path"] = "${path}"'') paths)}
return deps
'';
};
confDir = lib.sourceFilesBySuffices ./. [ "lua" "vim" ];