aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Christian Beer <privat@arne.beer>2026-03-25 09:53:01 +0100
committerGitHub <noreply@github.com>2026-03-25 04:53:01 -0400
commit95868440f0e72a3cf5f3731a1dec0d6547617aef (patch)
tree505a767a52d24bcad3da393bd64487717f348974
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar.gz
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar.bz2
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar.lz
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar.xz
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.tar.zst
nvim-lspconfig-95868440f0e72a3cf5f3731a1dec0d6547617aef.zip
fix(biome): root markers #4356
The current biome project root logic uses JS package manager lockfiles to get the project root in mono repos. If one is not using any JS (wasm) and raw CSS, that doesn't work out. In those cases, only a biome.json exists as a marker on where the frontend's project root inside the mono repo may be located.
-rw-r--r--lsp/biome.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp/biome.lua b/lsp/biome.lua
index 8dc91cf2..6ec5ceb0 100644
--- a/lsp/biome.lua
+++ b/lsp/biome.lua
@@ -50,6 +50,8 @@ return {
'bun.lockb',
'bun.lock',
'deno.lock',
+ 'biome.json',
+ 'biome.jsonc',
}
-- Give the root markers equal priority by wrapping them in a table
root_markers = vim.fn.has('nvim-0.11.3') == 1 and { root_markers, { '.git' } }