From 237efb4f5c4f89d70cdcaf20cd48313b8e1375dd Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 27 Apr 2022 02:19:44 +0200 Subject: [PATCH] Add clang_format --- .config/nvim/lua/plugins/lsp-cmp.lua | 2 ++ 1 file changed, 2 insertions(+) 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, })