From 34c9ecfdcc19d579f51c072300a71445fbec9da8 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 18 Aug 2025 22:09:12 +0700 Subject: fix(ts/js): servers do not start when `bun.lock` exists #4008 --- lsp/tsgo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lsp/tsgo.lua') diff --git a/lsp/tsgo.lua b/lsp/tsgo.lua index a644581f..435f8ef1 100644 --- a/lsp/tsgo.lua +++ b/lsp/tsgo.lua @@ -28,7 +28,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.2.3-70-g09d2