mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fix lsp fallback of conform
This commit is contained in:
@@ -12,7 +12,7 @@ return {
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
default_format_opts = { async = true, lsp_format = "fallback" },
|
||||
default_format_opts = { async = true },
|
||||
formatters_by_ft = {
|
||||
python = function(bufnr)
|
||||
if require("conform").get_formatter_info("ruff_format", bufnr).available then
|
||||
@@ -31,8 +31,8 @@ return {
|
||||
sql = { "pg_format" },
|
||||
cs = { "csharpier" },
|
||||
nix = { "alejandra" },
|
||||
-- ["_"] = { "injected", lsp_format = "last" },
|
||||
["*"] = { "injected" }
|
||||
["*"] = { "injected" },
|
||||
["_"] = { "injected", lsp_format = "last" },
|
||||
},
|
||||
formatters = {
|
||||
["biome-check"] = {
|
||||
|
||||
Reference in New Issue
Block a user