From a6dbc91d9ae373a87bcd9e3c15853e309691c39b Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 18 Aug 2025 10:25:07 +0700 Subject: fix: vtsls does not start in monorepo with `bun.lock` #4007 --- lsp/vtsls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1