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 <info@Mayanks-MacBook-Air.local>
This commit is contained in:
Mayank Dutta 2021-07-04 02:43:57 +05:30 committed by GitHub
parent 049fd808d9
commit 7dc564c427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View file

@ -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