dotfiles/.config/nvim/lua/plugins/extras/coding/cmp/npm.lua
2024-05-10 23:53:21 +02:00

12 lines
262 B
Lua

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