Skip to content

Commit a6dbc91

Browse files
authored
fix: vtsls does not start in monorepo with bun.lock #4007
1 parent 612d9fc commit a6dbc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp/vtsls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ return {
8080
-- As stated in the documentation above, this LSP supports monorepos and simple projects.
8181
-- We select then from the project root, which is identified by the presence of a package
8282
-- manager lock file.
83-
local project_root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb' }
83+
local project_root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' }
8484
local project_root = vim.fs.root(bufnr, project_root_markers)
8585
if not project_root then
8686
return nil

0 commit comments

Comments
 (0)