view contrib/vim/indent/nginx.vim @ 5829:906530c9ffd2

Added warning about unset cache keys. In fastcgi, scgi and uwsgi modules there are no default cache keys, and using a cache without a cache key set is likely meaningless.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 11 Sep 2014 20:08:52 +0400
parents f38043bd15f5
children
line wrap: on
line source

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#