-
-
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
VHDL ctag config not complete #814
Comments
@Rich-YoYo the STL flag indicates if this is a tag that has scope... I.E. a start and an end that are on different lines. An example would be a function or a class. They have scope in that they might contain other tags within them. This is used for things like the highlighting nearest tag, or the tagbar status line info. When a tag is marked with stl=1, then it is a tag that could be listed in the status line if the cursor is somewhere inside of that scoped tag but not on another tag. As for this change, it looks good to me. If you want to push it up as a pull-request I'd be happy to review it and merge it in. Thanks |
Following your explanation of the stl field, I think this is a better fix (it certainly produces better results)... File: ./autoload/tagbar/types/uctags.vim line 1207 onwards;-
File: ./autoload/tagbar/types/ctags.vim line 731 onwards;-
I'm afraid github (and git in general) is a mystery black hole to me and previous attempts on other github projects to submit a pull request (and that confuses me - shouldn't it me push? Anyway...) have failed miserably. The best I can offer is this post. |
I'm also interested in this great fix. |
Any news? |
If someone wants to help verify and push it up with a new pull request, I can facilitate merging this in. |
Ref. version 3.0.0, I have found that the tags list for VHDL are not complete. As a result, the results returned by the ctags invocation are very poor. I offer the following change to address this. Note that I don't know what the 'stl' field is for in this table so I have just set this to zero for the new tags that I added.
Lists composed from results of ctags --list-kinds=vhdl
File: ./autoload/tagbar/types/uctags.vim line 1207 onwards;-
File: ./autoload/tagbar/types/ctags.vim line 731 onwards;-
The text was updated successfully, but these errors were encountered: