view contrib/vim/indent/nginx.vim @ 6839:32714e608629

Contrib: added 'commentstring' for vim-commentary support.
author Armin Grodon <me@armingrodon.de>
date Tue, 13 Dec 2016 00:49:44 +0100
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#