blob: 4dec682f91be76618f80a7a2d6441e506656dea1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
return {
"stevearc/conform.nvim",
opts = {
notify_on_error = false,
format_on_save = {
timeout_ms = 500,
lsp_fallback = true,
},
formatters_by_ft = {
lua = { "lua-format" },
python = { "black", "pyink" },
cpp = { "clang-format" },
cmake = { "cmake_format" },
},
}
}
|