Fix lsp fallback of conform

This commit is contained in:
2025-05-08 00:59:42 +02:00
parent e743c495bb
commit 7cf467c481
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -53,7 +53,6 @@ return {
},
after = function(plug)
require("blink-cmp").setup(plug.opts)
vim.lsp.config("*", { capabilities = require("blink.cmp").get_lsp_capabilities() })
end,
},
}
+3 -3
View File
@@ -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"] = {