diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-09-17 23:04:59 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-09-17 23:07:52 -0400 |
| commit | 78174f395e705de97d1329c18394831737d9a4b4 (patch) | |
| tree | 638aa173046559d03e524c255be738092155f0d7 /lsp/ts_ls.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar.gz nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar.bz2 nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar.lz nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar.xz nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.tar.zst nvim-lspconfig-78174f395e705de97d1329c18394831737d9a4b4.zip | |
Revert "add deno.lock root marker #4051"
Reverts 33e318a3f0e729fb7ee82619a21172712b0ea288 (except for svelte).
fix #4074
close #4076
Diffstat (limited to 'lsp/ts_ls.lua')
| -rw-r--r-- | lsp/ts_ls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/ts_ls.lua b/lsp/ts_ls.lua index 773716ac..0b5a0a3c 100644 --- a/lsp/ts_ls.lua +++ b/lsp/ts_ls.lua @@ -58,7 +58,7 @@ return { -- As stated in the documentation above, this LSP supports monorepos and simple projects. -- We select then from the project root, which is identified by the presence of a package -- manager lock file. - local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.lock' } + local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' } -- Give the root markers equal priority by wrapping them in a table root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } } or vim.list_extend(root_markers, { '.git' }) |
