[packages/vim-syntax-nginx] set filetype for nginx.conf with any path
glen
glen at pld-linux.org
Sun May 3 20:54:19 CEST 2015
commit bd31b427508c2699891915368515b582f021f9d1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 3 21:53:53 2015 +0300
set filetype for nginx.conf with any path
ftdetect.vim | 2 +-
vim-syntax-nginx.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-syntax-nginx.spec b/vim-syntax-nginx.spec
index 4c18009..4c1f750 100644
--- a/vim-syntax-nginx.spec
+++ b/vim-syntax-nginx.spec
@@ -3,7 +3,7 @@ Summary: Vim syntax: Highlight code in nginx config file
Summary(pl.UTF-8): Opis składni dla Vima: podświetlanie kodu wewnątrz plików konfiguracyjnych nginx
Name: vim-syntax-%{syntax}
Version: 0.3.3
-Release: 1
+Release: 2
License: public domain
Group: Applications/Editors/Vim
Source0: http://www.vim.org/scripts/download_script.php?src_id=19394&/%{syntax}.vim
diff --git a/ftdetect.vim b/ftdetect.vim
index 929b72d..d1d988b 100644
--- a/ftdetect.vim
+++ b/ftdetect.vim
@@ -1 +1 @@
-au BufNewFile,BufRead /etc/nginx/*.conf set filetype=nginx
+au BufNewFile,BufRead /etc/nginx/*.conf,nginx.conf set filetype=nginx
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vim-syntax-nginx.git/commitdiff/bd31b427508c2699891915368515b582f021f9d1
More information about the pld-cvs-commit
mailing list