Hi Tom,

3. Adding new languages
  Only adding them to the snippet-DTD is not enough we also have to
  provide Syntax-Highlighting for those languages which means creating
  VIM-Highlight-File which knows how to highlihgt syntax 
      
Where can one find examples for such files (e.g. the ones that are used
for Basic and the like)?
    

If you are running Linux you could search for:
*.vim-Files on my debian it's in: /usr/share/vim/vim64/syntax

The OOBasic(altough not perfect because derived from basic.om) file is
in the cvs and can be found here in cvs where the snippet page resides:
(www/Examples/Snippets/homepage/etc)

If you want I can send it to you offline. You can also take a look in
the document:

http://vimdoc.sourceforge.net/htmldoc/usr_44.html
  
Thank you *very* much for your kind hints!

As it turns out there is a "vim.rex" supplied with vim already (just checked it). Although it does not highlight the "Open Objet Rexx" syntax elements, that's not a problem, as the classic Rexx highlighting already does quite a nice job.

Regards,

---rony



Reply via email to