diff options
Diffstat (limited to 'lsp/tsgo.lua')
| -rw-r--r-- | lsp/tsgo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/tsgo.lua b/lsp/tsgo.lua index 17cbcae8..3b26ad10 100644 --- a/lsp/tsgo.lua +++ b/lsp/tsgo.lua @@ -30,7 +30,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' } + local root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock', 'deno.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 } or root_markers local project_root = vim.fs.root(bufnr, root_markers) |
