mirror of
https://github.com/MatthewCallis/language-65asm.git
synced 2024-11-22 04:33:45 +00:00
Improving constant numeric values and fixed label highlighting
This commit is contained in:
parent
0e34ad549b
commit
5a713ff273
@ -1,6 +1,6 @@
|
||||
'fileTypes': []
|
||||
'foldingStartMarker': '/\\*\\*|\\{\\s*$'
|
||||
'foldingStopMarker': '\\*\\*/|^\\s*\\}'
|
||||
'fileTypes': [
|
||||
's'
|
||||
]
|
||||
'name': '6502 Assembly (cc65)'
|
||||
'patterns': [
|
||||
{
|
||||
@ -19,11 +19,7 @@
|
||||
'include': '#M65816_alias'
|
||||
}
|
||||
{
|
||||
'begin': '(;)'
|
||||
'beginCaptures':
|
||||
'1':
|
||||
'name': 'punctuation.definition.comment'
|
||||
'end': '\\n'
|
||||
'match': ';.*$'
|
||||
'name': 'comment.line.semicolon'
|
||||
}
|
||||
{
|
||||
@ -37,6 +33,10 @@
|
||||
'name': 'punctuation.definition.string.end'
|
||||
'name': 'string.quoted.double.assembly'
|
||||
}
|
||||
{
|
||||
'match': '\\#(\'.\'|[^\\s\']+)'
|
||||
'name': 'constant.numeric.hex'
|
||||
}
|
||||
{
|
||||
'match': '\\$[A-Fa-f0-9]+'
|
||||
'name': 'constant.numeric.hex'
|
||||
@ -54,7 +54,7 @@
|
||||
'name': 'constant.numeric.decimal'
|
||||
}
|
||||
{
|
||||
'match': '^[A-Za-z_][A-Za-z0-9_]:*'
|
||||
'match': '^[A-Za-z_][A-Za-z0-9_]*:'
|
||||
'name': 'variable.other.readwrite.assembly' # 'entity.name.label'
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user