scopatz / nanorc

Improved Nano Syntax Highlighting Files
Other
3.06k stars 553 forks source link

Solidity #387

Open mpoletiek opened 2 years ago

mpoletiek commented 2 years ago

Kindly requesting :)

Thank you!

davidhcefx commented 2 years ago

@mpoletiek You can write one and create a PR. However @scopatz seems to be inactive since Oct 2020 😢

mpoletiek commented 2 years ago

Would be nice to see eventually. Unfortunately I'm just now learning Solidity, but I wonder if there is an easy way to convert something thats already available for say vscode?

Matthew Poletiek 303.810.9082 @.*** www.matthewpoletiek.com

On Mon, Mar 7, 2022 at 12:32 PM davidhcefx @.***> wrote:

@mpoletiek https://github.com/mpoletiek You can write one and create a PR. However scopatz seems to be inactive since Jan 2021 😢

— Reply to this email directly, view it on GitHub https://github.com/scopatz/nanorc/issues/387#issuecomment-1061000711, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEU3KMWUVDNWU3IFBR5FBLLU6ZDUVANCNFSM5LLM5G7A . You are receiving this because you were mentioned.Message ID: @.***>

davidhcefx commented 2 years ago

nanorc uses ERE regex to highlight syntaxes, but it certainly is easier and better to create one based on existing highlighting. A direct converter seems cool, but in my opinion the problem lies in ERE not being strong enough, for example we cannot do lookahead assertion as in Python re can.