view contrib/vim/ftdetect/nginx.vim @ 7341:15ea84e65d07

Upstream: fixed request chain traversal (ticket #1618). The problem does not manifest itself currently, because in case of non-buffered reading, chain link created by u->create_request method consists of a single element. Found by PVS-Studio.
author Vladimir Homutov <vl@nginx.com>
date Fri, 24 Aug 2018 12:19:37 +0300
parents f38043bd15f5
children
line wrap: on
line source

au BufRead,BufNewFile *.nginx set ft=nginx
au BufRead,BufNewFile */etc/nginx/* set ft=nginx
au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
au BufRead,BufNewFile nginx.conf set ft=nginx