move-syntax icon indicating copy to clipboard operation
move-syntax copied to clipboard

[Feature Request] Support highlighting of Move snippets outside of modules and scripts

Open gregnazario opened this issue 1 year ago • 0 comments

I noticed that when you do not have a full module in a block it doesn't highlight correctly.

Example:

module 0x42::example {
  fun do_something() {
    5+5
  }
}

vs

script {
  fun main() {
    5+5
  }
}

vs

fun do_something() {
  5+5
}

gregnazario avatar Sep 17 '24 21:09 gregnazario