view contrib/vim/indent/nginx.vim @ 6167:87d48f8793b6

Upstream keepalive: reduced diffs to the plus version of nginx.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 04 Jun 2015 23:46:44 +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#