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 903158b commit 5577292Copy full SHA for 5577292
README.md
@@ -74,6 +74,11 @@ You can specify more extra options in `g:clang_format#extra_args` as String or L
74
When this variable's value is `1`, vim-clang-format automatically detects the style file like
75
`.clang-format` or `_clang-format` and applies the style to formatting.
76
77
+- `g:clang_format#auto_format`
78
+
79
+When the value is 1, a current buffer is automatically formatted on saving the buffer.
80
+Formatting is executed at `BufWritePre` event.
81
82
### Vimrc Example
83
84
```vim
0 commit comments