From 58680600d81437a20fd2838a63b6bee592fc714c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 26 Oct 2023 00:42:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20package-info=20now?= =?UTF-8?q?=20loading=20on=20both=20package.json=20and=20package.lock.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/coding/cmp.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/extras/coding/cmp.lua b/.config/nvim/lua/plugins/extras/coding/cmp.lua index fbbfac4e..9ee85181 100644 --- a/.config/nvim/lua/plugins/extras/coding/cmp.lua +++ b/.config/nvim/lua/plugins/extras/coding/cmp.lua @@ -6,7 +6,10 @@ return { dependencies = { { "vuki656/package-info.nvim", - event = { "BufRead package.json" }, + event = { + "BufRead package.json", + "BufRead package-lock.json", + }, opts = {}, keys = { {