EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
210 stars 43 forks source link

[Language Request] Lua #9

Closed Stanzilla closed 5 years ago

Stanzilla commented 5 years ago

This should probably do? https://github.com/Azganoth/tree-sitter-lua

EvgeniyPeshkov commented 5 years ago

Hello @Stanzilla , welcome to {Syntax Highlighter}. I'll see what I can do. It'll take several days. I will notify you periodically about my progress.

Stanzilla commented 5 years ago

Awesome, thank you!

EvgeniyPeshkov commented 5 years ago

I think it'll be ready tomorrow, so stay tuned (=.

EvgeniyPeshkov commented 5 years ago

Hello @Stanzilla , I've finished preview support for Lua. I would like to send you custom build of extension, so you can install it manually and try. Is it OK? Or I can include it in a release, that I will publish tomorrow.

Stanzilla commented 5 years ago

Hey sure, can you upload the vsix somewhere?

EvgeniyPeshkov commented 5 years ago

Sure, I think I can upload it right here ))). syntax-highlighter-0.2.6-lua.zip Please, be aware that tree-sitter-lua is not very extensive. I've tried to do my best. Maybe there is something that still can be fixed, but I suppose not much.

Stanzilla commented 5 years ago

Looks pretty good so far! I might need to tweak the colors a bit, it's a bit too colorful for my liking, otherwise awesome job, thank you :)

EvgeniyPeshkov commented 5 years ago

You are welcome. (= I'll let you know, when version with Lua is in Marketplace.

Stanzilla commented 5 years ago

https://i.imgur.com/dfh6zZg.png is a small bug I just found it auto corrected after a bit though

EvgeniyPeshkov commented 5 years ago

Yes, you are right. I saw similar behavior. It happens sometimes, mostly when pasting a text or doing multi-line editing. I'll address this bug in near future. Thank you.

EvgeniyPeshkov commented 5 years ago

Hello @Stanzilla , I've published new version with Lua, so you can install it from Marketplace as usual. I think this issue may be closed. As for sometimes broken highlighting, we'll track this bug in issue #19 .

Stanzilla commented 5 years ago

Awesome, thank you!