diff --git a/.config/nvim/lua/plugins/lsp-cmp.lua b/.config/nvim/lua/plugins/lsp-cmp.lua index 471a317..1383296 100644 --- a/.config/nvim/lua/plugins/lsp-cmp.lua +++ b/.config/nvim/lua/plugins/lsp-cmp.lua @@ -49,6 +49,8 @@ null_ls.setup({ null_ls.builtins.formatting.shellharden, null_ls.builtins.formatting.shfmt, null_ls.builtins.formatting.taplo, + -- cpp + null_ls.builtins.formatting.clang_format, }, on_attach = format_on_save, })