view contrib/vim/indent/nginx.vim @ 7624:1055e43e4fab

Made ngx_http_get_forwarded_addr_internal() non-recursive.
author Vladimir Homutov <vl@nginx.com>
date Tue, 11 Feb 2020 13:22:44 +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#