diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/ikiwiki_vim_syntaxfile.mdwn | 5 | ||||
-rw-r--r-- | doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn | 3 | ||||
-rw-r--r-- | doc/tips/vim_syntax_highlighting.mdwn | 16 |
3 files changed, 20 insertions, 4 deletions
diff --git a/doc/forum/ikiwiki_vim_syntaxfile.mdwn b/doc/forum/ikiwiki_vim_syntaxfile.mdwn index d0f8d259e..50ae9097e 100644 --- a/doc/forum/ikiwiki_vim_syntaxfile.mdwn +++ b/doc/forum/ikiwiki_vim_syntaxfile.mdwn @@ -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 diff --git a/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn b/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn index 7bc032949..7bfcf3088 100644 --- a/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn +++ b/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn @@ -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]] diff --git a/doc/tips/vim_syntax_highlighting.mdwn b/doc/tips/vim_syntax_highlighting.mdwn index 18b2f1c92..bf7104aec 100644 --- a/doc/tips/vim_syntax_highlighting.mdwn +++ b/doc/tips/vim_syntax_highlighting.mdwn @@ -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]] |