From e930cfc9a81c12112034ce7521df73b4056eae58 Mon Sep 17 00:00:00 2001 From: Benjamin Chaussé Date: Wed, 17 Jul 2024 11:01:18 -0400 Subject: Auto build jsregexp for Luasnip --- lua/plugins/cmp.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lua') diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 3914e80..e079910 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -1,11 +1,11 @@ return { "hrsh7th/nvim-cmp", dependencies = { - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "L3MON4D3/LuaSnip", - "saadparwaiz1/cmp_luasnip", + { "hrsh7th/cmp-nvim-lsp" }, + { "hrsh7th/cmp-buffer" }, + { "hrsh7th/cmp-path" }, + { "L3MON4D3/LuaSnip", build = "make install_jsregexp" }, + { "saadparwaiz1/cmp_luasnip" }, }, config = function() local cmp = require("cmp") -- cgit v1.2.3