-
Notifications
You must be signed in to change notification settings - Fork 626
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
Vim9: no tag is generated for ":def" functions #2589
Comments
Not sure whether this is a bug, but no tag is generated either for constants defined with the I guess those tokens are too recent. I'll read the manpage to learn how to configure |
Universal ctags has a Vim script parser: https://github.com/universal-ctags/ctags/blob/master/parsers/vim.c |
Oh, thank you very much for the pointer. I don't know C, but if it's not too difficult, maybe I'll try to submit a PR.
You're right, but I opened the issue on the u-ctags repository, not the Vim one. |
Oh, I totally misunderstood if this is in the Vim repository. |
Describe the bug
No tag is generated for Vim9
:def
functions.To Reproduce
Run these shell commands:
Here is the contents of the generated tags file:
It does not contain a tag for the
Vim9Function()
.Expected behavior
I would expect this line to be present in the tags file:
Environment
ctags version:
OS: Ubuntu 16.04.6 LTS
I built ctags locally after cloning the source code from the github repository, and making sure I was on the latest commit of the master branch.
Additional context
These new
:def
functions are documented on the vimhelp.org website.The text was updated successfully, but these errors were encountered: