wysiib / language-tla-pluscal

MIT License
3 stars 1 forks source link

Pluscal not highlighted #3

Closed garrensmith closed 5 years ago

garrensmith commented 5 years ago

This addon is so awesome. It works great for tla+ but it doesn't seem to support writing pluscal. See the image below, the pluscal isn't syntax highted Screenshot 2019-05-05 14 23 58

Would you be able to add syntax highlighting for pluscal?

wysiib commented 5 years ago

Of course it should work for pluscal. Just to be sure, how would you have expected the example to be highlighted?

garrensmith commented 5 years ago

I was hoping that the pluscal in the comments section would be syntax highlighted as well. I'm writing in pluscal and then getting it translated into tla+.

wysiib commented 5 years ago

Noted. In addition: should pluscal simply use the same highlighting rules tla+ itself uses?

garrensmith commented 5 years ago

Yes. The same would be ideal. Thanks for this library. Using atom for tla+ is awesome

wysiib commented 5 years ago

Okay, I'll have to figure out why it does not recognize the special comment including pluscal and thinks it is a regular comment. Will look into it in the coming days!

wysiib commented 5 years ago

I just released an updated version including preliminary support for PlusCal comments. Please check it out and report any further issues you find.

garrensmith commented 5 years ago

Works great. Thank you