TextMateSharp icon indicating copy to clipboard operation
TextMateSharp copied to clipboard

Add Luau grammar

Open rice-cracker-dev opened this issue 1 year ago • 3 comments

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.

rice-cracker-dev avatar Jun 03 '24 17:06 rice-cracker-dev

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

danipen avatar Jun 03 '24 20:06 danipen

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

rice-cracker-dev avatar Jun 04 '24 07:06 rice-cracker-dev

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

danipen avatar Jun 04 '24 07:06 danipen

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

Hi, @danipen.

Thanks for your project, it fine. Please, answer me about my problem:

I want add new custom grammar to AvaloniaEdit and i can't do it. Now i reed your comment about new grammar here and...

Can I add my custom grammar to my project myself? Or i need add my grammar to your project before i can use it?

Thanks.

wbr, Alex.

alexvkru avatar Apr 04 '25 15:04 alexvkru