2013-04-13 13:45:21 -04:00
|
|
|
if exists("b:did_indent")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_indent = 1
|
|
|
|
|
2016-02-20 08:51:59 -05:00
|
|
|
setlocal indentexpr=
|
|
|
|
|
2013-04-13 13:45:21 -04:00
|
|
|
" 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#
|