diff options
feat: add `biome` as LSP client and formatter
Diffstat (limited to '')
-rw-r--r-- | lua/config/lsp.lua | 1 | ||||
-rw-r--r-- | lua/config/plugins/formatting.lua | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 3bb36e2..4cbf797 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -12,5 +12,6 @@ vim.lsp.enable({ "rust-analyzer", + "biome", "typescript-language-server", }) diff --git a/lua/config/plugins/formatting.lua b/lua/config/plugins/formatting.lua index 9563905..6efe5d2 100644 --- a/lua/config/plugins/formatting.lua +++ b/lua/config/plugins/formatting.lua @@ -10,6 +10,15 @@ return { lua = { "stylua" }, nix = { "nixfmt" }, rust = { "rustfmt", lsp_format = "fallback" }, + + json = { "biome" }, + jsonc = { "biome" }, + javascript = { "biome" }, + javascriptreact = { "biome" }, + ["javascript.jsx"] = { "biome" }, + typescript = { "biome" }, + typescriptreact = { "biome" }, + ["typescript.jsx"] = { "biome" }, }, }) |