saem / vscode-nim

Other
177 stars 23 forks source link

Support user-defined literals #44

Closed DylanModesitt closed 3 years ago

DylanModesitt commented 3 years ago

As arbitrary user-defined literals are now supported, we may want to update the syntax file to allow this. I left hex/binary/etc untouched for float_literal and integer_literal, but broadened everything else to support arbitrary \w+.

saem commented 3 years ago

Nevermind, I'm going to merge this in and then likely just do a convert and merge of the grammar from here down the road unless someone else gets to it first: https://github.com/nim-lang/NimLime/tree/master/Syntaxes

saem commented 3 years ago

Thanks a lot of the PR.