Bennu Game Development

English Forums => Resources => Topic started by: kruz on December 07, 2010, 06:05:16 AM

Title: Syntax Highlighter for VIM
Post by: kruz on December 07, 2010, 06:05:16 AM
I prefer to use Linux over Windows, but when I have to use Windows, I still use gVim for editing files.  I created a simple highlighting file and it's not perfect or complete.  I've never created a syntax file, but it works for the most part.  You may have to mess with the filetype.vim file as .prg files are part of another language.  I attached the file as a txt so just rename to bennu.vim and move it to your syntax directory.  If anyone has any questions on how to get this to work properly, feel free to message me.

-Kruz
p.s.
If anyone else has any familiarity with Vim syntax files, I would appreciate any input/help/suggestions.

--- added in response 2010-12-10
I'm not sure that I have an account for the Wiki or that this type of information should go on it since it is not official, nor is it completed... it just helps highlight the constants/functions and bennu language in general. 

As far as the installation instructions go, I'm not sure about each different GNU/Linux distribution as they keep their files in different locations.  But general install instructions would go as follows:

Warning!!! If you use FoxPro, there is a conflict as FoxPro also uses .prg !!!

Hope this helps (:
-Kruz
Title: Re: Syntax Highlighter for VIM
Post by: osk on December 08, 2010, 10:43:18 AM
I think it could be interesting merge all posts and attachments about syntax highlighting in only one central place, if we want not to forget them.
Thanks!!
Title: Re: Syntax Highlighter for VIM
Post by: josebita on December 08, 2010, 09:53:56 PM
Thanks a lot for your help. Installation instructions?

BTW: The perfect place for such a post is the wiki :)
Title: Re: Syntax Highlighter for VIM
Post by: SplinterGU on December 08, 2010, 10:11:00 PM
karma! Thanks
Title: Re: Syntax Highlighter for VIM
Post by: blostec on December 21, 2010, 01:24:23 PM
Good work, thank you! karma up  ;)