view contrib/vim/indent/nginx.vim @ 8484:d41a0cafacff quic

HTTP/3: do not call shutdown() for QUIC streams. Previously, this triggered an alert "shutdown() failed" in error log.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 22 Jul 2020 11:03:42 +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#