From: Elan Ruusamäe Date: Sun, 3 May 2015 18:53:53 +0000 (+0300) Subject: set filetype for nginx.conf with any path X-Git-Tag: auto/th/vim-syntax-nginx-0.3.3-2~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=bd31b427508c2699891915368515b582f021f9d1;p=packages%2Fvim-syntax-nginx.git set filetype for nginx.conf with any path --- 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 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