Mercurial > hg > nginx-quic
view contrib/vim/indent/nginx.vim @ 7847:262396242352 quic
Reworked macros for parsing/assembling packet types.
Previously, macros checking a packet type with the long header also checked
whether this is a long header. Now it requires a separate preceding check.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 30 Apr 2020 12:38:38 +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#