You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
250 B
VimL
12 lines
250 B
VimL
10 years ago
|
if exists("b:did_indent")
|
||
|
finish
|
||
|
endif
|
||
|
let b:did_indent = 1
|
||
|
|
||
|
setlocal indentexpr=
|
||
|
|
||
|
" cindent actually works for nginx' simple file structure
|
||
|
setlocal cindent
|
||
|
" Just make sure that the comments are not reset as defs would be.
|
||
|
setlocal cinkeys-=0#
|