feat(nvim): new extra: npm-cmp

This commit is contained in:
Sergio Laín 2024-05-10 23:53:21 +02:00
parent 2cfe12dbf3
commit eedde78e8a
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B

View 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,
}