apiaryio / api-blueprint-sublime-plugin

API Blueprint Sublime Text plugin
MIT License
176 stars 20 forks source link

Highlighting broken #28

Open honzajavorek opened 9 years ago

honzajavorek commented 9 years ago

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
pksunkara commented 9 years ago

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 commented 9 years ago

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

danielgtaylor commented 9 years ago

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

honzajavorek commented 9 years ago
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.