tools-life / taskwiki

Proper project management with Taskwarrior in vim.
Other
841 stars 95 forks source link

vimwiki link / vieport definition disambiguation #72

Closed linuxcaffe closed 9 years ago

linuxcaffe commented 9 years ago

The vimwiki link definition is not unlike a viewport definition, especially when a link is used as a heading;

== [[source | description]] == vs. == description | source == respectively

and right now, ViewPortInspect is breaking (click-jacking) vimwiki-links-as-headings (bug!)

Happily,it should be an easy fix; the double-square-bracket gives it away. If it has square-brackets, it's not a viewport.

linuxcaffe commented 9 years ago

vimwiki transclusions

{{first part | second part}}

could also be confused, and should also be differentiated from viewports, (although I'm not sure they would/ could even be used in a header)

linuxcaffe commented 9 years ago

this bug is actually biting me, please fix.

tbabej commented 9 years ago

Fixed in master.

linuxcaffe commented 9 years ago

workedlikeacharm! thanks!