From f36748338b299e3fad3e614a080c49609536b44d Mon Sep 17 00:00:00 2001 From: Ted Pavlic Date: Wed, 21 Jan 2009 11:19:16 -0500 Subject: [PATCH] Added some instructions to vimperator.vim. Files like vimperator.vim, javascript.vim, and vimperatorrc.example might fit better in a "contrib" directory. It's not clear whether there should be vimperator/contrib and muttator/contrib directories or a single liberator/contrib directory. The Makefile.common doesn't include these files in the bundle, and so it doesn't seem like a bad idea to package them in a single liberator/contrib directory with a CONTENTS or README file giving a ToC for the directory. --- vimperator/vimperator.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimperator/vimperator.vim b/vimperator/vimperator.vim index 9a46884b..509be979 100644 --- a/vimperator/vimperator.vim +++ b/vimperator/vimperator.vim @@ -2,6 +2,12 @@ " Language: VIMperator configuration file " Maintainer: Doug Kearns " Last Change: 2008 Dec 31 +" +" To use this file, copy it to ~/.vim/syntax/vimperator.vim and create +" ~/.vim/ftdetect/vimperator.vim with contents like: +" +" au BufNewFile,BufRead *.vimp setl filetype=vimperator +" au BufNewFile,BufRead */{.,_}{vimperator,muttator}rc setl filetype=vimperator if exists("b:current_syntax") finish