view contrib/vim/indent/nginx.vim @ 8382:db58c7ef1d7c quic

QUIC: do not handle empty dcid. When a QUIC datagram arrives, its DCID is never empty. Previously, the case of empty DCID was handled. Now this code is simplified.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 30 Mar 2021 14:33:47 +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#