diff --git a/conf/nvim/lua/plugins.lua b/conf/nvim/lua/plugins.lua index 9ee68c4..d20b868 100644 --- a/conf/nvim/lua/plugins.lua +++ b/conf/nvim/lua/plugins.lua @@ -25,7 +25,8 @@ require "paq" { -- autocompletion plugin 'hrsh7th/nvim-cmp'; - 'hrsh7th/cmp-nvim-lsp'; + 'hrsh7th/cmp-nvim-lsp'; -- LSP source + 'hrsh7th/cmp-path'; -- path source -- vim lint when it is not possible withlsp 'mfussenegger/nvim-lint'; diff --git a/conf/nvim/lua/plugins/cmp.lua b/conf/nvim/lua/plugins/cmp.lua index 2b409a2..36416c2 100644 --- a/conf/nvim/lua/plugins/cmp.lua +++ b/conf/nvim/lua/plugins/cmp.lua @@ -67,5 +67,6 @@ cmp.setup { }, sources = { { name = 'nvim_lsp' }, + { name = 'path' }, }, }