Click to See Complete Forum and Search --> : VIM Syntax Highlighting
Dark Ninja
09-30-2004, 10:01 AM
I was curious -- if I have a VIM syntax file that I want VIM to recognize (it's for a language that VIM does not have support for) where do I put that file? I tried putting it in the /usr/share/vim/vim63/syntax folder, but VIM does not seem to recognize it.
Thanks
mrBen
09-30-2004, 10:27 AM
Nice How-To here (http://www.fleiner.com/vim/create.html)
It does it in a slightly different method to the one you are attempting. For your method, I think you may need to edit the syntax.vim file in the syntax directory. <edit> On second look - ignore this paragraph</edit>
bigrigdriver
09-30-2004, 05:32 PM
See the Vim Reference Manual, especially the section on :syntax commands; how to enable; where the syntax is to be found; etc.
fatTrav
09-30-2004, 07:10 PM
Originally posted by Dark Ninja
I was curious -- if I have a VIM syntax file that I want VIM to recognize (it's for a language that VIM does not have support for) where do I put that file? I tried putting it in the /usr/share/vim/vim63/syntax folder, but VIM does not seem to recognize it.
Thanks
just curious, for what language does vim not have support?
Dark Ninja
10-01-2004, 02:28 AM
Originally posted by fatTrav
just curious, for what language does vim not have support?
Alloy -- it's a software modeling language.
http://alloy.mit.edu/
Check it out. Pretty sweet stuff.
mrBen
10-01-2004, 05:43 AM
Presumably you are just using the Vim file they have on their site?
Dark Ninja
10-01-2004, 06:01 PM
Sure am. I just couldn't figure out how to get VIM to recognize it. I'm going to try to follow all your suggestions right now.
:) Thanks