preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.1k stars 485 forks source link

feature: Add basic Crystal support #787

Closed dammer closed 2 years ago

dammer commented 2 years ago

The Crystal ~/.ctags file is need to work.

Peek 2021-08-05 22-05

Fixes #517

raven42 commented 2 years ago

Looks good to me... only question would be if the stl flag should be 1 for all of them. Something like the macros for example I wouldn't think we'd want stl=1.

dammer commented 2 years ago

Thanks Caleb

By the way have you tried submitting the Crystal info upstream to Universal Ctags? They are usually pretty receptive to new language support.

Actually no, but I see requests for adding support. I will try to ask familiar C coders about write commit.

dammer commented 2 years ago

@raven42

Looks good to me... only question would be if the stl flag should be 1 for all of them. Something like the macros for example I wouldn't think we'd want stl=1.

I checkd, in Crystal macro seems as defs not as in C macro.

screenshoteasy