aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/biome.lua
diff options
context:
space:
mode:
authorIgor <igorlfs@ufmg.br>2025-08-18 23:41:27 -0300
committerIgor <igorlfs@ufmg.br>2025-08-18 23:41:27 -0300
commitec27b247a5e25f6997b66aee30090eda18efaa27 (patch)
tree6430c1e4e840c0936a6796009fcc3b6cd509e0e8 /lsp/biome.lua
parentchore: add type annotation for configs (diff)
downloadnvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar.gz
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar.bz2
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar.lz
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar.xz
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.tar.zst
nvim-lspconfig-ec27b247a5e25f6997b66aee30090eda18efaa27.zip
chore: miscellaneous type fixes
Diffstat (limited to 'lsp/biome.lua')
-rw-r--r--lsp/biome.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp/biome.lua b/lsp/biome.lua
index f7209042..88faa714 100644
--- a/lsp/biome.lua
+++ b/lsp/biome.lua
@@ -47,7 +47,7 @@ return {
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
+ return
end
-- We know that the buffer is using Biome if it has a config file
@@ -63,7 +63,7 @@ return {
stop = vim.fs.dirname(project_root),
})[1]
if not is_buffer_using_biome then
- return nil
+ return
end
on_dir(project_root)