view contrib/vim/indent/nginx.vim @ 5669:cac82b9b3499

SSL: explicit handling of empty names. X509_check_host() can't handle non null-terminated names with zero length, so make sure to fail before calling it.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 23 Apr 2014 20:31:31 +0400
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#