kylef / apiblueprint.vim

This vim plugin brings syntax highlighting and linting for API Blueprint.
https://apiblueprint.org/
BSD 3-Clause "New" or "Revised" License
113 stars 11 forks source link

Resource groups showing up as multiple introductions in TagBar #14

Open codeinabox opened 8 years ago

codeinabox commented 8 years ago

I've noticed that the resource groups in the tag bar are also showing up in the TagBar as introductions. Unfortunately I don't think negative look ahead assertions are possible with Ctags.

kylef commented 8 years ago

@codeinabox Could you share an example blueprint please?

I'm seeing this work as expected:

screen shot 2016-06-04 at 14 19 07
codeinabox commented 8 years ago

Ah but your resource groups are prefixed with ## but I am prefixing with a single # as per the specification https://apiblueprint.org/documentation/specification.html#def-resourcegroup-section

kylef commented 7 years ago

Ah but your resource groups are prefixed with ## but I am prefixing with a single # as per the specification https://apiblueprint.org/documentation/specification.html#def-resourcegroup-section

That's right, since my resource groups are inside the the API section (# My API) then they are a sub-section (##) inside.

The plugin should support both though.