annotate contrib/vim/ftplugin/nginx.vim @ 8252:2fec22332ff4

Removed extra allocation for r->uri. The ngx_http_parse_complex_uri() function cannot make URI longer and does not null-terminate URI, so there is no need to allocate an extra byte. This allocation appears to be a leftover from changes in 461:a88a3e4e158f (0.1.5), where null-termination of r->uri and many other strings was removed.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 10 Dec 2020 20:09:39 +0300
parents 32714e608629
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6839
32714e608629 Contrib: added 'commentstring' for vim-commentary support.
Armin Grodon <me@armingrodon.de>
parents:
diff changeset
1 setlocal commentstring=#\ %s