Hi all,

Writing svn2git import rules, but hate seeing all-black code? This is just 
what you need. I'm working on a Kate syntax highlighting script for rule 
files. It's working quite well, although a few things aren't yet supported.

You may download it from:
http://gitweb.kde.org/scratch/nalvarez/svn2git-kate.git

Just copy svn2git.xml to ~/.kde/share/apps/katepart/syntax.


"create repository", "end repository", etc. are considered individual 
keywords; "create" alone isn't highlighted. Similarly, most keywords are 
only supported inside the correct blocks. "branch" is only highlighted 
inside a "match", "revision" only works after "min" or "max", etc.

I'm not sure if this is the right approach. For example, it may look bad to 
start typing "create repository" and not see "create" formatted as a keyword 
immediately. Only way to know is with some real-world testing.

Feedback very welcome.

-- 
Nicolas


_______________________________________________
Kde-scm-interest mailing list
Kde-scm-interest@kde.org
https://mail.kde.org/mailman/listinfo/kde-scm-interest

Reply via email to