view contrib/vim/indent/nginx.vim @ 7439:5efc23d83bc2

Added the ngx_http_test_required_predicates() function. In contrast to ngx_http_test_predicates(), it requires all values to be non-empty and not equal to "0".
author Vladimir Homutov <vl@nginx.com>
date Thu, 17 Jan 2019 14:31:04 +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#