diff options
Diffstat (limited to 'nvim/ftplugin/c.vim')
| -rw-r--r-- | nvim/ftplugin/c.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/ftplugin/c.vim b/nvim/ftplugin/c.vim index fd45dbd..3fc55eb 100644 --- a/nvim/ftplugin/c.vim +++ b/nvim/ftplugin/c.vim | |||
| @@ -2,6 +2,7 @@ setlocal cinoptions=:0,p0,t0 | |||
| 2 | setlocal cinwords=if,else,while,do,for,switch,case | 2 | setlocal cinwords=if,else,while,do,for,switch,case |
| 3 | setlocal formatoptions=tcqr | 3 | setlocal formatoptions=tcqr |
| 4 | setlocal cindent | 4 | setlocal cindent |
| 5 | setlocal indentexpr=nvim_treesitter#indent() | ||
| 5 | 6 | ||
| 6 | setlocal foldenable | 7 | setlocal foldenable |
| 7 | setlocal foldmethod=expr | 8 | setlocal foldmethod=expr |
