view contrib/vim/indent/nginx.vim @ 5846:cda4fcb9294c

Limit req: don't truncate key value to 255 bytes. While the module allows to use values up to 65535 bytes as a key, that actually never worked properly.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 16 Sep 2014 21:12:51 +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#