view contrib/vim/indent/nginx.vim @ 6117:3b7a60371a9a

Limit req: removed check for unknown limit_req_zone. With 48b3d5ddfb03, it's possible to specify limit_req_zone after limit_req.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 20 Apr 2015 16:54:41 +0300
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#