view contrib/vim/indent/nginx.vim @ 6394:5fe617f38222

Dynamic modules: fixed a version mismatch message (ticket #898). Based on a patch by Takashi Takizawa.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 11 Feb 2016 18:46:46 +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#