We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152224f commit c989d84Copy full SHA for c989d84
doc/clang-format.txt
@@ -150,6 +150,11 @@ g:clang_format#detect_style_file *g:clang_format#detect_style_file*
150
like .clang-format or _clang-format and applies the style to formatting.
151
The default value is 1.
152
153
+g:clang_format#auto_format *g:clang_format#auto_format*
154
+
155
+ When the value is 1, |vim-clang-format| automatically formats a current
156
+ buffer on saving the buffer. Formatting is executed at |BufWritePre| event.
157
+ The default value is 0.
158
159
==============================================================================
160
SETUP EXAMPLE *vim-clang-format-setup-example*
0 commit comments