view contrib/vim/indent/nginx.vim @ 7648:028b16e2798f

Variables: fixed buffer over-read when evaluating "$arg_".
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 08 May 2020 19:19:16 +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#