-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
#777 breaks the ability to add a definition for a new language or file type #789
Comments
Are you able to provide the |
Hello, and thank you for your quick response! The I for testing purposes, I added a simple README file to my repo which allows you to see the table of contents in Tagbar: |
Asciidoc caseHmm... I'm running into an issue because my version of ctags has built-in support for the
Long term issueI can see arguments for both cases here. After some testing, I don't see an easy way to handle both cases cleanly. We would almost have to parse the contents of the Case 1 - override
|
Thank you for a very detailed analysis and explanation and yeah, I see how this is a tough choice. Unfortunately, my version of
Obviously I would love to be able to add support to any language from within Vim configuration but for now, I will just move the contents of |
It looks like this issue remains. I encountered the problem recently in an Ultisnips .snippets file. I'm wondering if it would work to do a simplified version of case 3: use the |
After merging #777, it is no longer possible to add a definition for a new language or file type as documented in
doc/tagbar.txt
and Vim produces the following error:The problem is that tagbar now attempts to run
--language-force=asciidoc
beforeasciidoc
is defined with the--options
option:Moving
--language-force=asciidoc
after--options
resolves this problem:I am using Exuberant Ctags 5.8:
Moving the contents of the
asciidoc.cnf
file to~/.ctags
of course solves this problem, but I would like to keep the configuration confined to my Vim plugin if at all possible.The text was updated successfully, but these errors were encountered: