diff options
Diffstat (limited to 'nvim/ftplugin/c.vim')
| -rw-r--r-- | nvim/ftplugin/c.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nvim/ftplugin/c.vim b/nvim/ftplugin/c.vim new file mode 100644 index 0000000..e0c347d --- /dev/null +++ b/nvim/ftplugin/c.vim | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | setlocal cinoptions=:0,p0,t0 | ||
| 2 | setlocal cinwords=if,else,while,do,for,switch,case | ||
| 3 | setlocal formatoptions=tcqr | ||
| 4 | setlocal cindent | ||
| 5 | |||
| 6 | setlocal foldenable | ||
| 7 | setlocal foldmethod=syntax | ||
