aboutsummaryrefslogtreecommitdiff
path: root/contrib/vim/indent/gmid.vim
blob: 5dc2955782cf3a53f3ed5f6883a08309eead2aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if exists("b:did_indent")
  finish
endif
let b:did_indent = 1

setlocal indentexpr=

" cindent actually works for simple file structure
setlocal cindent
" Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0#
" And indentation works correctly without semicolons.
setlocal cinoptions=+0