view contrib/vim/indent/nginx.vim @ 7293:d588987701f4

HTTP/2: validate client request scheme. The scheme is validated as per RFC 3986, Section 3.1.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 07 Jun 2018 11:47:10 +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#