view contrib/vim/indent/nginx.vim @ 6580:7fcde9122088 stable-1.10 release-1.10.1

nginx-1.10.1-RELEASE
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 31 May 2016 16:47:01 +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#