]> sipb.mit.edu Git - ikiwiki.git/commitdiff
new syntax file for ikiwiki files in vim
authorJavier Rojas <jerojasro@devnull.li>
Mon, 19 Jul 2010 06:11:22 +0000 (01:11 -0500)
committerJavier Rojas <jerojasro@devnull.li>
Mon, 19 Jul 2010 06:11:22 +0000 (01:11 -0500)
doc/forum/ikiwiki_vim_syntaxfile.mdwn
doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn
doc/tips/vim_syntax_highlighting.mdwn

index d0f8d259e45504610f8b2a12d5260559c5e3a941..50ae9097e3a95a8c5a1087ffdbfa74c002117d75 100644 (file)
@@ -1,3 +1,8 @@
+See the new syntax file [[here|tips/vim_syntax_highlighting]]. It fixed both of
+the problems reported below.
+
+----
+
 Hi all,
 
 I'm teaching myself how to write syntax files for vim by fixing several issues
index 7bc0329493830bdc7421e751d6bcfe9bb9609c1a..7bfcf30880c2a8be0ab4d97f65d8eda78ef04397 100644 (file)
@@ -85,6 +85,9 @@ the plugin has, as of now, two problems:
 >>>>> plugin and putting it there, I'd be fine with that. I think it needs
 >>>>> some slight work to catch up with changes to ikiwiki's directives
 >>>>> (!-prefixed now), and wikilinks (able to have spaces now). --[[Joey]]
+
+<a id='syn-maintenance'>
+
 >>>>> 
 >>>>>> I don't really know too much about syntax definitions in vim. But I'll give it a stab. I know it fails when there are 2 \[[my text|link]] wikilinks in the same page.
 >>>>>> I'm not promising anything, though ;) --[[jerojasro]]
index 18b2f1c92fd43a20316da5ad0c52fad03f61de0a..bf7104aec10e1c69f31cc13f8910f5ca246bd553 100644 (file)
@@ -1,7 +1,15 @@
-[[ikiwiki.vim]] is a vim syntax highlighting file for ikiwiki
-[[ikiwiki/markdown]] files.
-
-Installation instructions are at the top of the file.
+[ikiwiki-syntax](http://www.vim.org/scripts/script.php?script_id=3156) is a vim
+syntax highlighting file for ikiwiki [[ikiwiki/markdown]] files. It highlights
+directives and wikilinks. It only supports prefixed directives, i.e.,
+\[[!directive foo=bar baz]], not the old format with spaces.
 
 See also: [[follow_wikilinks_from_inside_vim]]
+
+------
+
+The previous syntax definition for ikiwiki links is at [[ikiwiki.vim]]; however,
+it seems to not be [[maintained
+anymore|forum/navigation_of_wiki_pages_on_local_filesystem_with_vim#syn-maintenance]],
+and it has some [[issues|forum/ikiwiki_vim_syntaxfile]].
+
 [[!tag vim]]