view contrib/vim/indent/nginx.vim @ 6350:a5767988c022

Resolver: changed the ngx_resolver_create_*_query() arguments. No functional changes. This is needed by the following change.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 26 Jan 2016 16:46:48 +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#