Enable clang_format only for cpp and c
parent
0220062caf
commit
2058691eeb
|
@ -18,7 +18,9 @@ null_ls.setup({
|
||||||
null_ls.builtins.diagnostics.ktlint,
|
null_ls.builtins.diagnostics.ktlint,
|
||||||
|
|
||||||
-- C++ and C
|
-- C++ and C
|
||||||
null_ls.builtins.formatting.clang_format,
|
null_ls.builtins.formatting.clang_format.with({
|
||||||
|
filetypes = { "cpp", "c" },
|
||||||
|
}),
|
||||||
|
|
||||||
-- Cmake
|
-- Cmake
|
||||||
null_ls.builtins.formatting.cmake_format,
|
null_ls.builtins.formatting.cmake_format,
|
||||||
|
|
Loading…
Reference in New Issue