Pixiv-Nginx/contrib/vim/indent/nginx.vim

12 lines
250 B
VimL
Raw Normal View History

2018-09-17 18:29:24 +08:00
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#