blob: 7d61eeb29c37ab54b9f4039960d05e1ecd1f9bca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
local options = {
formatters_by_ft = {
c = { "clang-format" },
cpp = { "clang-format" },
},
format_on_save = {
timeout_ms = 500,
lsp_fallback = true,
},
}
require("conform").setup(options)
|