summaryrefslogtreecommitdiff
path: root/lua/config
diff options
context:
space:
mode:
Diffstat (limited to 'lua/config')
-rw-r--r--lua/config/lsp.lua1
-rw-r--r--lua/config/plugins/formatting.lua9
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" },
},
})