Refactored nvim config to make it easier and less insanely nested
This commit is contained in:
14
.config/nvim/lua/plugins/nvim-cmp.lua
Normal file
14
.config/nvim/lua/plugins/nvim-cmp.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
'hrsh7th/nvim-cmp',
|
||||
event = 'InsertEnter',
|
||||
dependencies = {
|
||||
'onsails/lspkind.nvim', -- icons for completion type
|
||||
'hrsh7th/cmp-path', -- complete filepaths
|
||||
'hrsh7th/cmp-nvim-lsp', -- lsp source for nvim-cmp
|
||||
'saadparwaiz1/cmp_luasnip', -- snippets source for nvim-cmp
|
||||
{ 'L3MON4D3/LuaSnip', build = 'make install_jsregexp' }, -- snippets plugin
|
||||
},
|
||||
config = function()
|
||||
require('cmp_helper')
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user