feat(nvim): use clang_format to format c/c++ codes
This commit is contained in:
@@ -1094,6 +1094,8 @@ return {
|
||||
},
|
||||
},
|
||||
formatters_by_ft = {
|
||||
c = { "clang_format" },
|
||||
cpp = { "clang_format" },
|
||||
lua = { 'stylua' },
|
||||
go = { "goimports", "gofmt" },
|
||||
rust = { "dprint", "rustfmt", lsp_format = "fallback" },
|
||||
|
||||
Reference in New Issue
Block a user