From 7dc564c42727ac66dea1e9cb795a2568e00e4628 Mon Sep 17 00:00:00 2001 From: Mayank Dutta <33067129+mayankdutta@users.noreply.github.com> Date: Sun, 4 Jul 2021 02:43:57 +0530 Subject: added Clangd format_on_save (#621) * clang autoformat do save lot of trouble * clang autoformat do save lot of trouble * clang indentation done, comments updated * clang indentation done, comments updated Co-authored-by: Mayank Sharma --- utils/installer/lv-config.example.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/installer/lv-config.example.lua') diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index c90d4876..f71ad561 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -83,6 +83,12 @@ O.lang.go.autoformat = true -- rust O.lang.rust.autoformat = true + +-- clang +O.lang.clang.autoformat = false -- Set to true to enable auto-format in C/C++ files. + + + -- create custom autocommand field (This would be easy with lua) -- Turn off relative_numbers -- cgit v1.2.3