]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/ikiwiki_vim_syntaxfile.mdwn
fix link syntax
[ikiwiki.git] / doc / forum / ikiwiki_vim_syntaxfile.mdwn
1 Hi all,
2
3 I'm teaching myself how to write syntax files for vim by fixing several issues
4 (and up to certain extent, taking over the maintenance) of the vim syntax
5 (highlighting) file for ikiwiki.
6
7 I'd like you to document here which problems you have found, so I can hunt them
8 and see if I can fix them.
9
10 ## Problems Found
11
12   * Arguments of directives with a value of length 1 cause the following text to
13   be highlighted incorrectly. Example:
14
15         [[!directive param1="val1" param2="1"]] more text ...
16
17   * A named wikilink in a line, followed by text, and then another wikilink,
18   makes the text in between the links to be incorrectly highlighted. Example:
19
20         \[[a link|alink]] text that appears incorrectly .... \[[link]]
21