From bd31b427508c2699891915368515b582f021f9d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 3 May 2015 21:53:53 +0300 Subject: [PATCH] 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/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 -- 2.44.0