5 messages in ru.sysoev.nginxRe: nginx.vim
FromSent OnAttachments
Evan MillerMay 3, 2007 1:43 am 
焦胜强May 3, 2007 3:30 am 
Wilson BilkovichMay 3, 2007 7:19 am 
Wilson BilkovichMay 3, 2007 8:02 am 
Evan MillerMay 3, 2007 2:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx.vimActions...
From:Wilson Bilkovich (wils@public.gmane.org)
Date:May 3, 2007 8:02:50 am
List:ru.sysoev.nginx

On 5/3/07, Evan Miller <emmiller+gman@public.gmane.org>
wrote:

To install, download the above file into your ~/.vim/syntax/ folder (create that folder if it doesn't exist already). Then ensure that ~/.vim/filetype.vim has this line:

au BufRead,BufNewFile nginx.conf* setf nginx

I have a bunch of conf files that get included into the main config, in folders under my nginx conf directory. I ended up setting up this rule as well: au BufRead,BufNewFile */nginx/**/*.conf set ft=nginx Which seems to work. Someone with more vim config chops than me is welcome to correct it.