-
Notifications
You must be signed in to change notification settings - Fork 629
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
Can't get yaml parsing working #1322
Comments
Currently the yaml parser tags only anchors and aliases(only when For
What kind of output do you expect? |
Thank you for clarifying. Since I'm new to ctags, I'll try to annotate my
files with anchors and see how it goes.
I need it for vim to help me working with large swagger schema definition
yaml files. For this use case, generating tags for first two levels of keys
is perfect. However since swagger format is quite specific,
it may be worth creating a dedicated parser
(plugin) for swagger.
P.S. running `ctags --list-kinds` reveals that anchors misspelled as
"anchros".
…On 21 Mar 2017 00:10, "Masatake YAMATO" ***@***.***> wrote:
Currently yaml parser tags only anchors and alias(only when r(reference
extra tag) is enabled).
For
a:
b:
c: 1
d: something
What kind of output do you expect?
a, b, c, and d? How about something?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1322 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADjWR3Bja4rrLk5rdwJBPHteZIfXrV7ks5rnvlOgaJpZM4Mi7u2>
.
|
Tried with anchors - works fine. Thanks! |
That is the point.
Thanks. Fixed in HEAD. |
Great. I'll appreciate if you update this post when the API is ready, so I can try it out. |
I submit a patch set for implementing a subparser. 9ac9b7a Swagger parser can be implemented on yaml parser with this new infrastructure. However, it is not enough. |
I found this issue as ctags could not find anything in my gitlab-ci.yml files.
to my ctags config file. Works so far :) |
I've built ctags from master (rev cbbf4fe). And I can't get the yaml pasring working:
Am I missing something?
The text was updated successfully, but these errors were encountered: