summaryrefslogtreecommitdiff
path: root/lua/default-config.lua
diff options
context:
space:
mode:
authorMayank Dutta <[email protected]>2021-07-04 02:43:57 +0530
committerGitHub <[email protected]>2021-07-03 17:13:57 -0400
commit7dc564c42727ac66dea1e9cb795a2568e00e4628 (patch)
treea91d4c774bc700e0f32f050b7d59ba0788979662 /lua/default-config.lua
parent049fd808d9db997f475fbf8a95c0288c90e95176 (diff)
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 <[email protected]>
Diffstat (limited to 'lua/default-config.lua')
-rw-r--r--lua/default-config.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua
index 83ff1cc2..7a26f242 100644
--- a/lua/default-config.lua
+++ b/lua/default-config.lua
@@ -150,7 +150,8 @@ O = {
underline = true,
},
cross_file_rename = true,
- header_insertion = 'never'
+ header_insertion = 'never',
+ autoformat = false -- update this to true for enabling autoformat
},
ruby = {
diagnostics = {