mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fully use biome as an lsp
This commit is contained in:
@@ -15,13 +15,6 @@ return {
|
||||
default_format_opts = { async = true },
|
||||
formatters_by_ft = {
|
||||
python = { "ruff_format", "ruff_organize_imports" },
|
||||
javascript = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
typescript = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
javascriptreact = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
typescriptreact = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
json = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
css = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
html = { "biome-check", "prettierd", "prettier", stop_after_first = true },
|
||||
sql = { "pg_format" },
|
||||
cs = { "csharpier" },
|
||||
nix = { "alejandra" },
|
||||
@@ -29,10 +22,6 @@ return {
|
||||
["_"] = { "injected", lsp_format = "last" },
|
||||
},
|
||||
formatters = {
|
||||
["biome-check"] = {
|
||||
-- disable node module search since native binaries can't be run from nix
|
||||
command = "biome",
|
||||
},
|
||||
csharpier = function()
|
||||
return {
|
||||
command = "csharpier",
|
||||
|
||||
Reference in New Issue
Block a user