diff options
Diffstat (limited to 'lsp')
| -rw-r--r-- | lsp/biome.lua | 2 | ||||
| -rw-r--r-- | lsp/eslint.lua | 2 | ||||
| -rw-r--r-- | lsp/svelte.lua | 2 | ||||
| -rw-r--r-- | lsp/ts_ls.lua | 2 | ||||
| -rw-r--r-- | lsp/tsgo.lua | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lsp/biome.lua b/lsp/biome.lua index 5adc379a..b30c0e75 100644 --- a/lsp/biome.lua +++ b/lsp/biome.lua @@ -43,7 +43,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 diff --git a/lsp/eslint.lua b/lsp/eslint.lua index 044107c4..c6cb92eb 100644 --- a/lsp/eslint.lua +++ b/lsp/eslint.lua @@ -90,7 +90,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 diff --git a/lsp/svelte.lua b/lsp/svelte.lua index abb09e2b..7194dff3 100644 --- a/lsp/svelte.lua +++ b/lsp/svelte.lua @@ -13,7 +13,7 @@ return { cmd = { 'svelteserver', '--stdio' }, filetypes = { 'svelte' }, root_dir = function(bufnr, on_dir) - local root_files = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb' } + local root_files = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' } local fname = vim.api.nvim_buf_get_name(bufnr) -- Svelte LSP only supports file:// schema. https://github.com/sveltejs/language-tools/issues/2777 if vim.uv.fs_stat(fname) ~= nil then 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 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 |
