diff options
| author | Methapon2001 <61303214+Methapon2001@users.noreply.github.com> | 2025-08-18 22:09:12 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-18 08:09:12 -0700 |
| commit | 34c9ecfdcc19d579f51c072300a71445fbec9da8 (patch) | |
| tree | e79a4da388769e4159c069285d2aa28ad461f379 /lsp/ts_ls.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar.gz nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar.bz2 nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar.lz nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar.xz nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.tar.zst nvim-lspconfig-34c9ecfdcc19d579f51c072300a71445fbec9da8.zip | |
fix(ts/js): servers do not start when `bun.lock` exists #4008
Diffstat (limited to 'lsp/ts_ls.lua')
| -rw-r--r-- | lsp/ts_ls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/ts_ls.lua b/lsp/ts_ls.lua index 4626adf0..9bb08b41 100644 --- a/lsp/ts_ls.lua +++ b/lsp/ts_ls.lua @@ -57,7 +57,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 |
