danipen / TextMateSharp

A port of tm4e to bring TextMate grammars to dotnet ecosystem
MIT License
87 stars 15 forks source link

Add Luau grammar #62

Open rice-cracker-dev opened 1 month ago

rice-cracker-dev commented 1 month ago

Is your feature request related to a problem? Please describe. Luau is a superset of Lua with types, used by ROBLOX.

Describe the solution you'd like I'd love to have Luau added to TextMateSharp.Grammars. https://github.com/JohnnyMorganz/Luau.tmLanguage

Describe alternatives you've considered I have tried lua grammar but it isn't as good as I wanted it to be.

danipen commented 1 month ago

The way to add new grammar packages is adding the grammar files here and setting up the new name entry here

rice-cracker-dev commented 1 month ago

@danipen I am still quite confused at how to create a new grammar for a project of mine.

danipen commented 1 month ago

I'm suggesting creating a PR adding this grammar to TextmateSharp and generating new nuget packages.