added illuminate, flutter tools, comment, headlines, barbecue; improved

cmp
This commit is contained in:
2024-04-05 09:03:37 +02:00
parent 0d028910ce
commit da33c345bd
9 changed files with 348 additions and 214 deletions

View File

@@ -6,6 +6,7 @@ conform.setup({
cs = { "csharpier" },
javascript = { { "prettierd", "prettier" } },
rust = { "rustfmt" },
dart = { "dart_format" }
},
})
@@ -18,5 +19,7 @@ conform.formatters.rustfmt = {
}
vim.keymap.set("n", "<leader>f", function()
conform.format({ bufnr = vim.lsp.bufnr })
if not conform.format({ bufnr = vim.lsp.bufnr }) then
vim.lsp.buf.format()
end
end)