diff options
| author | David <12832280+David-Else@users.noreply.github.com> | 2021-10-17 18:38:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-17 10:38:17 -0700 |
| commit | 201b6378fce1d976c4dbe596438158cef4f1be52 (patch) | |
| tree | dd3cb53f1307e1a6ccc2c82b4b998ac4d44cd167 /lua | |
| parent | fix(eslint): return {} in custom handlers (#1320) (diff) | |
| download | nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar.gz nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar.bz2 nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar.lz nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar.xz nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.tar.zst nvim-lspconfig-201b6378fce1d976c4dbe596438158cef4f1be52.zip | |
feat(deno_ls): update Deno root pattern (#1321)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/denols.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/denols.lua b/lua/lspconfig/denols.lua index d16f3b3c..a1dd8709 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('package.json', 'tsconfig.json', '.git'), + root_dir = util.root_pattern('deno.json', 'deno.jsonc', 'package.json', 'tsconfig.json', '.git'), init_options = { enable = true, lint = false, @@ -152,7 +152,7 @@ https://github.com/denoland/deno Deno's built-in language server ]], default_config = { - root_dir = [[root_pattern("package.json", "tsconfig.json", ".git")]], + root_dir = [[root_pattern("deno.json", "deno.jsonc", "package.json", "tsconfig.json", ".git")]], }, }, } |
