From dbcbbe97cfedd1940cc9769771f5fce04c3aba99 Mon Sep 17 00:00:00 2001 From: Ron Waldon Date: Fri, 19 Nov 2021 00:31:11 +1100 Subject: fix(denols): drop references to package.json (#1439) --- lua/lspconfig/denols.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/lspconfig/denols.lua b/lua/lspconfig/denols.lua index 0f2a3251..4b0d2616 100644 --- a/lua/lspconfig/denols.lua +++ b/lua/lspconfig/denols.lua @@ -116,7 +116,7 @@ configs[server_name] = { 'typescriptreact', 'typescript.tsx', }, - root_dir = util.root_pattern('deno.json', 'deno.jsonc', 'package.json', 'tsconfig.json', '.git'), + root_dir = util.root_pattern('deno.json', 'deno.jsonc', 'tsconfig.json', '.git'), init_options = { enable = true, lint = false, @@ -162,7 +162,7 @@ vim.g.markdown_fenced_languages = { ]], default_config = { - root_dir = [[root_pattern("deno.json", "deno.jsonc", "package.json", "tsconfig.json", ".git")]], + root_dir = [[root_pattern("deno.json", "deno.jsonc", "tsconfig.json", ".git")]], }, }, } -- cgit v1.2.3-70-g09d2