On Mon, 2006-07-24 at 23:37 +0100, Rhythmic Fistman wrote:
> On 7/24/06, skaller <[EMAIL PROTECTED]> wrote:
> > On Mon, 2006-07-24 at 23:16 +0100, Rhythmic Fistman wrote:
> >
> > > > then edit the menu.vim and edit the filetime.vim files
> > > > by hand. There's supposed to be some kind of plugin mechanism
> > > > but I couldn't get it to work.
> > >
> > > Edit them to say what?
> >
> > It's obvious, just look in them. You need to associate the
> 
> Ah, it's obvious! An excerpt (syntax coloured of course):

filetype.vim contains:

" Felix
au BufNewFile,BufRead *.flx,*.flxh                      setf felix

" Interscript
au BufNewFile,BufRead *.pak,*.ipk                       setf interscript

" A-A-P recipe
au BufNewFile,BufRead *.aap                     setf aap

" ABC music notation
au BufNewFile,BufRead *.abc                     setf abc

" ABEL
au BufNewFile,BufRead *.abl                     setf abel

" AceDB
au BufNewFile,BufRead *.wrm                     setf acedb

" Ada (83, 9X, 95)
au BufNewFile,BufRead *.adb,*.ads,*.ada         setf ada

.... blah blah ...

synmenu.vim contains:


an 50.10.100 &Syntax.AB.Aap :cal SetSyn("aap")<CR>
an 50.10.110 &Syntax.AB.Abaqus :cal SetSyn("abaqus")<CR>
an 50.10.120 &Syntax.AB.ABC\ music\ notation :cal SetSyn("abc")<CR>
an 50.10.130 &Syntax.AB.ABEL :cal SetSyn("abel")<CR>
an 50.10.140 &Syntax.AB.AceDB\ model :cal SetSyn("acedb")<CR>
an 50.10.150 &Syntax.AB.Ada :cal SetSyn("ada")<CR>
an 50.10.160 &Syntax.AB.AfLex :cal SetSyn("aflex")<CR>
an 50.10.170 &Syntax.AB.ALSA\ config :cal SetSyn("alsaconf")<CR>
an 50.10.180 &Syntax.AB.Altera\ AHDL :cal SetSyn("ahdl")<CR>
an 50.10.190 &Syntax.AB.Amiga\ DOS :cal SetSyn("amiga")<CR>

.... blah blah ...

Just modify these two files in the 'obvious' way .. :)

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to