Hello

I just wrote a Vim syntax file for svnwiki, mainly to learn how to write a Vim syntax file :-) and to help editing Wiki pages too.

You can find it attached.
To install, just save it in ~/.vim/syntax/, creating the dirs if necessary.

To activate it, just  :set ft=svnwiki  when you need it,
or put some autocommands in your .vimrc, such as:

au BufRead * if getline(1) =~ '^\[\[[a-z]\+:\|^== ' |setl ft=svnwiki | endif


If you find any combination of Wiki constructs where the highlighting doesn't match the Wiki output, or if you have any feedback/bug/feature request, feel free to ask!


Happy hacking,
Tobia

Attachment: svnwiki.vim
Description: Binary data


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to