view contrib/vim/indent/nginx.vim @ 6326:705c356ce664

Fixed fastcgi_pass with UNIX socket and variables (ticket #855). This was broken in a93345ee8f52 (1.9.8).
author Ruslan Ermilov <ru@nginx.com>
date Wed, 09 Dec 2015 16:26:59 +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#