diff --git a/.config/nvim/lua/plugins/extras/coding/cmp/npm.lua b/.config/nvim/lua/plugins/extras/coding/cmp/npm.lua new file mode 100644 index 00000000..d6cf6caa --- /dev/null +++ b/.config/nvim/lua/plugins/extras/coding/cmp/npm.lua @@ -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, +}