✨ feat(nvim): new extra: npm-cmp
This commit is contained in:
parent
2cfe12dbf3
commit
eedde78e8a
1 changed files with 12 additions and 0 deletions
12
.config/nvim/lua/plugins/extras/coding/cmp/npm.lua
Normal file
12
.config/nvim/lua/plugins/extras/coding/cmp/npm.lua
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
return {
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
dependencies = {
|
||||||
|
"David-Kunz/cmp-npm",
|
||||||
|
dependencies = "nvim-lua/plenary.nvim",
|
||||||
|
ft = "json",
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
opts = function(_, opts)
|
||||||
|
table.insert(opts.sources, { name = "npm", keyword_length = 4 })
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue