chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Vim syntax file for svnwiki


From: Tobia Conforto
Subject: [Chicken-users] Vim syntax file for svnwiki
Date: Tue, 26 Feb 2008 01:49:24 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]