move-syntax
move-syntax copied to clipboard
Move language syntax for VSCode and GitHub
per-pr
Hi, this a modified version of syntax highlighter, which we add some support to the MSL. It not a major change, we mainly modified these: (1) configuration: delete “” as...
👋 from [github-linguist/linguist](https://github.com/github-linguist/linguist) which uses this grammar for syntax highlighting Move files on GitHub.com. I'm in the process of creating the next release and I've seen our grammar compiler has...
While the current modifier works in some themes, with the new modifier the highlighting works in more themes and is more consistent with other languages like Rust. Before: After:
Currently the macro call looks like this, notice the `!` which looks like a separate thing: Maybe we can highlight it in the same color as the macro name, as...
Hey! While learning the Move language, I noticed that in [`vector.move`](https://github.com/move-language/move/blob/main/language/move-stdlib/sources/vector.move) the functions in `spec module { ... }` are not fully highlighted. This PR fixes that issue Before: After:
I noticed that when you do not have a full module in a block it doesn't highlight correctly. Example: ```move module 0x42::example { fun do_something() { 5+5 } } ```...