Mercurial > hg > nginx-quic
view contrib/vim/indent/nginx.vim @ 7221:43585e0e12a3
Postpone filter: prevented uninitialized r->out.
The r->out chain link could be left uninitialized in case of error.
A segfault could happen if the subrequest handler accessed it.
The issue was introduced in commit 20f139e9ffa8.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 01 Mar 2018 18:38:39 +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#