You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to make pandoc-syntax play nice with vimwiki. Part of it would be to add some highlighting to Vimwiki tags. Which is defined in the help as
A tag is a sequence of non-space characters between two colons:
:tag-example:
It is allowed to concatenate multiple tags in one line:
:tag-one:tag-two:
I simply got the regex from the vimwiki syntax file, and added to my .vimrc:
It works fine except when I add a tag within the two first columns of a line, it turns the myPandocWikiTag into a pandocDefinitionBlock.
I suck at vimscript, and to make this task easier, at regex too :) With my little understanding, I imagine that the best course of action would be to redefine the pandocDefinitionBlock adding a rule to exclude any pattern where a second colon stands right after the first colon and any non space character.
Maybe I am wrong, and the vimwiki tag expression should be modified. Any help would be greatly appreciated, thanks.
I will paste the pandocDefinitionBlock expression from the syntax file below to make it easier for anyone who would like to help me to copy, and modify.
Hi,
I am trying to make pandoc-syntax play nice with vimwiki. Part of it would be to add some highlighting to Vimwiki tags. Which is defined in the help as
I simply got the regex from the vimwiki syntax file, and added to my
.vimrc
:It works fine except when I add a tag within the two first columns of a line, it turns the
myPandocWikiTag
into apandocDefinitionBlock
.I suck at vimscript, and to make this task easier, at regex too :) With my little understanding, I imagine that the best course of action would be to redefine the
pandocDefinitionBlock
adding a rule to exclude any pattern where a second colon stands right after the first colon and any non space character.Maybe I am wrong, and the vimwiki tag expression should be modified. Any help would be greatly appreciated, thanks.
I will paste the
pandocDefinitionBlock
expression from the syntax file below to make it easier for anyone who would like to help me to copy, and modify.The text was updated successfully, but these errors were encountered: