aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/vtsls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/vtsls.lua')
-rw-r--r--lsp/vtsls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/vtsls.lua b/lsp/vtsls.lua
index d9c2f1e4..ba2e7de5 100644
--- a/lsp/vtsls.lua
+++ b/lsp/vtsls.lua
@@ -84,7 +84,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)