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