diff options
author | Evan Miller <emmiller@gmail.com> | 2013-12-04 14:45:44 -0800 |
---|---|---|
committer | Evan Miller <emmiller@gmail.com> | 2013-12-04 14:45:44 -0800 |
commit | 61a266795466d366afcc00727cbc0a2803f492ae (patch) | |
tree | 588b1bee1762d6ca126f5a5cd7198d2c52ec6518 /contrib/vim/ftdetect/nginx.vim | |
parent | 618e12f679766ae8d47a9fc2882cc55a8af440dd (diff) | |
download | nginx-61a266795466d366afcc00727cbc0a2803f492ae.tar.gz nginx-61a266795466d366afcc00727cbc0a2803f492ae.zip |
Contrib: add vim scripts to contrib/ directory.
I've been maintaining these scripts independently for a while now, even though
I'm no longer active in the community. Seems to me that contrib/ is a good
long-term home for the scripts.
Diffstat (limited to 'contrib/vim/ftdetect/nginx.vim')
-rw-r--r-- | contrib/vim/ftdetect/nginx.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/vim/ftdetect/nginx.vim b/contrib/vim/ftdetect/nginx.vim new file mode 100644 index 000000000..3ae470d24 --- /dev/null +++ b/contrib/vim/ftdetect/nginx.vim @@ -0,0 +1,4 @@ +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 |