We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01442ee commit fec837dCopy full SHA for fec837d
3 files changed
src/.vuepress/public/scripts/wat.js
@@ -673,13 +673,13 @@ var WebAssemblyTextLanguage = {
673
// variable names
674
[/\$[^\s\)]*/, { token: 'identifier' }],
675
676
- // instructions
677
- [/[a-zA-Z0-9]+(?:\.[a-zA-Z0-9_]+)*/, {
+ // instructions and types
+ [/[a-z0-9_]+(?:\.[a-z0-9_]+)*/, {
678
cases: {
679
- '@instructions': { token: 'instruction.$0' },
680
- '@controlInstructions': { token: 'controlInstruction.$0' },
681
- '@keywords': { token: 'keyword.$0' },
682
'@types': { token: 'type.$0' },
+ '@keywords': { token: 'keyword.$0' },
+ '@controlInstructions': { token: 'controlInstruction.$0' },
+ '@instructions': { token: 'instruction.$0' },
683
'@default': 'identifier'
684
}
685
}]
src/.vuepress/wat-config.js
0 commit comments