Mercurial > hg > nginx
view contrib/vim/indent/nginx.vim @ 8733:385d511b5064 quic
QUIC: fixed udp buffer initialization.
The start field is used to check if the QUIC packet is first in the datagram.
This fixes stateless reset detection.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 30 Mar 2021 14:33:43 +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#