view contrib/vim/indent/nginx.vim @ 6308:7e241b36819d

Configure: improved workaround for system perl on OS X. The workaround from baf2816d556d stopped to work because the order of "-arch x86_64" and "-arch i386" has changed.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 30 Nov 2015 12:04:29 +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#