api-blueprint-sublime-plugin icon indicating copy to clipboard operation
api-blueprint-sublime-plugin copied to clipboard

Highlighting broken

Open honzajavorek opened this issue 10 years ago • 4 comments

I'm using Mac.

  1. Installed the plugin using Package Control.
  2. Opened arbitrary apiary.apib file.
  3. Selected "API Blueprint" highlighting.
  4. Text is still not highlighted. Here and there, one or two words get some color, but the coloring does not make much sense or seem to be very helpful. Nothing from Markdown gets highlighted.
screen shot 2015-09-08 at 13 14 34

honzajavorek avatar Sep 08 '15 11:09 honzajavorek

Do you have drafter binary? Sublime plugin works only if you have drafter binary as mentioned in the README.

https://github.com/apiaryio/api-blueprint-sublime-plugin#drafter

pksunkara avatar Sep 08 '15 12:09 pksunkara

But I am wondering what happened to the textmate like syntax which was used for Github highlighting and sublime plugin. Shouldn't that be working? /cc @danielgtaylor

pksunkara avatar Sep 08 '15 13:09 pksunkara

@honzajavorek switch to the Monokai Extended color scheme or another one that has similar styles defined.

danielgtaylor avatar Sep 08 '15 13:09 danielgtaylor

Warning: drafter-HEAD already installed

Seems like I have the latest Drafter. I installed Monokai Extended and the result looks much better:

screen shot 2015-09-08 at 15 41 14

However, as you can see, GitHub-style code blocks are not highlighted and keywords, such as Relation, Headers, etc. are also just white.

honzajavorek avatar Sep 08 '15 13:09 honzajavorek