-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hashtags in fenced code python comments clash with markdown headers in tagbar #11
Comments
This proposes an initial solution to vimwiki#11 .
Testing the script, which is on #12 , from outside vimwiki, worked as expected, i.e.: From this:
To this:
Running ctags, directly, produced different tag kinds, because it is markdown specific, but still the result is what is intended, i.e. it now omits the fenced code and thus python comments are not considered has headers anymore:
Yet, this still produced no effect on tagbar, so I ran :TagbarDebug and discovered that it was calling
Once taskwiki was disabled, the version of I’ve found out that this issue tools-life/taskwiki#194 had been raised already, by @ranebrown, inside the taskwiki repo, but it still remains open. I hope this can contribute, in any way, to help solve it. |
Closed by #12 |
Hi, I’m getting python comments inside fenced code, which should not be visible, clashing with markdown headers and creating an incorrect display of headers in tagbar, e.g.:
I have placed the following inside my .vimrc, after following through the manual’s integration steps (https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a6415a4f83847752928252d/doc/vimwiki.txt#L1988) and vwtags.py:
I’ve tried to alter vwtags.py, in order to omit fenced code blocks. Yet, the result remains the same, once i run :TagbarToggle inside vimwiki.
To no avail, I’ve also tried using markdown2ctags.py, as well as omitting g:tagbar_type_ in .vimrc, all producing the same result.
Q: How can this be fixed?
The text was updated successfully, but these errors were encountered: