Mercurial > hg > nginx-quic
view contrib/vim/indent/nginx.vim @ 8482:0b884e47bb79 stable-1.20
Resolver: reworked ngx_resolver_copy() copy loop.
To make the code easier to read, reworked the ngx_resolver_copy()
copy loop to match the one used to calculate length. No functional
changes.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 25 May 2021 15:17: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#