neovim: add path autocomplete

nix-components
pegasust 2022-11-22 01:53:03 +00:00
parent b61cff4fe0
commit f487bb0dfe
3 changed files with 8 additions and 6 deletions

View File

@ -69,11 +69,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1669044918,
"narHash": "sha256-Lg5gOmmVlaYKhN2QM6qeZL3HOjbshms2+CJyc+ALt64=",
"lastModified": 1669071065,
"narHash": "sha256-KBpgj3JkvlPsJ3duOZqFJe6tgr+wc75t8sFmgRbBSbw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "433e8de330fd9c157b636f9ccea45e3eeaf69ad2",
"rev": "f7641a3ff398ccce952e19a199d775934e518c1d",
"type": "github"
},
"original": {

View File

@ -28,7 +28,7 @@
pkgs.xorg.xclock
pkgs.logseq
pkgs.mosh
pkgs.nixops
pkgs.nixops_unstable
# pkgs.python310 # dev packages should be in jk
# pkgs.python310.numpy
# pkgs.python310Packages.tensorflow
@ -77,6 +77,8 @@
enable = true;
viAlias = true;
vimAlias = true;
withPython3 = true;
withNodeJs = true;
# I use vim-plug, so I probably don't require packaging
# extraConfig actually writes to init-home-manager.vim (not lua)
# https://github.com/nix-community/home-manager/pull/3287
@ -128,7 +130,7 @@
];
extraConfig = {
# cache credential for 10 minutes.
credential.helper = "cache --timeout=600"
credential.helper = "cache --timeout=600";
};
# why is this no longer valid?
# pull = { rebase=true; };

View File

@ -86,7 +86,7 @@ Plug('nvim-telescope/telescope-file-browser.nvim')
-- cmp: auto-complete/suggestions
Plug('neovim/nvim-lspconfig') -- built-in LSP configurations
Plug('hrsh7th/cmp-nvim-lsp')
Plug('hrsh7th/cmp-nvim-path')
Plug('hrsh7th/cmp-path')
Plug('hrsh7th/cmp-buffer')
Plug('hrsh7th/cmp-cmdline')
Plug('hrsh7th/nvim-cmp')