Mercurial > hg > nginx-quic
annotate contrib/vim/indent/nginx.vim @ 8855:a5aebd51e4c7 quic
QUIC: stream lingering.
Now ngx_quic_stream_t is decoupled from ngx_connection_t in a way that it
can persist after connection is closed by application. During this period,
server is expecting stream final size from client for correct flow control.
Also, buffered output is sent to client as more flow control credit is granted.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Sat, 05 Feb 2022 12:54:54 +0300 |
parents | f38043bd15f5 |
children |
rev | line source |
---|---|
5460
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
1 if exists("b:did_indent") |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
2 finish |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
3 endif |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
4 let b:did_indent = 1 |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
5 |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
6 setlocal indentexpr= |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
7 |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
8 " cindent actually works for nginx' simple file structure |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
9 setlocal cindent |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
10 " Just make sure that the comments are not reset as defs would be. |
f38043bd15f5
Contrib: add vim scripts to contrib/ directory.
Evan Miller <emmiller@gmail.com>
parents:
diff
changeset
|
11 setlocal cinkeys-=0# |