aboutsummaryrefslogtreecommitdiffstats
path: root/lsp
diff options
context:
space:
mode:
authorMethapon2001 <61303214+Methapon2001@users.noreply.github.com>2025-08-18 10:25:07 +0700
committerGitHub <noreply@github.com>2025-08-17 20:25:07 -0700
commita6dbc91d9ae373a87bcd9e3c15853e309691c39b (patch)
tree71f04a322801ec88071403ed8ffd05861ee8e56a /lsp
parentfix(eslint): performance regression on configuration lookup #4004 (diff)
downloadnvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar.gz
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar.bz2
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar.lz
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar.xz
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.tar.zst
nvim-lspconfig-a6dbc91d9ae373a87bcd9e3c15853e309691c39b.zip
fix: vtsls does not start in monorepo with `bun.lock` #4007
Diffstat (limited to 'lsp')
-rw-r--r--lsp/vtsls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/vtsls.lua b/lsp/vtsls.lua
index 226fc5c0..a0b4454a 100644
--- a/lsp/vtsls.lua
+++ b/lsp/vtsls.lua
@@ -80,7 +80,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 project_root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb' }
+ local project_root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
local project_root = vim.fs.root(bufnr, project_root_markers)
if not project_root then
return nil