fix(neovim): disable clang_format in c# files

This commit is contained in:
Alexandre Cavalheiro 2024-10-24 22:43:52 -03:00
parent 6f7fc67600
commit f59e4faa37
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -46,7 +46,9 @@ return {
-- Set a formatter -- Set a formatter
require("none-ls.diagnostics.flake8"), require("none-ls.diagnostics.flake8"),
require("none-ls.formatting.ruff"), require("none-ls.formatting.ruff"),
null_ls.builtins.formatting.clang_format, null_ls.builtins.formatting.clang_format.with({
disabled_filetypes = { "cs" },
}),
null_ls.builtins.formatting.csharpier, null_ls.builtins.formatting.csharpier,
null_ls.builtins.formatting.nixfmt, null_ls.builtins.formatting.nixfmt,
null_ls.builtins.formatting.stylua, null_ls.builtins.formatting.stylua,