diff --git a/Preferences/ORCA-M Symbol Lists.tmPreferences b/Preferences/ORCA-M Symbol Lists.tmPreferences new file mode 100644 index 0000000..30a14f3 --- /dev/null +++ b/Preferences/ORCA-M Symbol Lists.tmPreferences @@ -0,0 +1,16 @@ + + + + + name + Symbol List + scope + source.asm.65816.orcam entity.name.constant, source.asm.65816.orcam entity.name.function + settings + + showInSymbolList + 1 + + + + diff --git a/Snippets/ORCA-M Data.sublime-snippet b/Snippets/ORCA-M Data.sublime-snippet new file mode 100644 index 0000000..dbbb2bd --- /dev/null +++ b/Snippets/ORCA-M Data.sublime-snippet @@ -0,0 +1,10 @@ + + + data + source.asm.65816.orcam entity.name.label + data … end + \ No newline at end of file diff --git a/Snippets/ORCA-M Private.sublime-snippet b/Snippets/ORCA-M Private.sublime-snippet new file mode 100644 index 0000000..d9fda1c --- /dev/null +++ b/Snippets/ORCA-M Private.sublime-snippet @@ -0,0 +1,10 @@ + + + private + source.asm.65816.orcam entity.name.label + private … end + \ No newline at end of file diff --git a/Snippets/ORCA-M Privdata.sublime-snippet b/Snippets/ORCA-M Privdata.sublime-snippet new file mode 100644 index 0000000..6e795ce --- /dev/null +++ b/Snippets/ORCA-M Privdata.sublime-snippet @@ -0,0 +1,10 @@ + + + privdata + source.asm.65816.orcam entity.name.label + privdata … end + \ No newline at end of file diff --git a/Snippets/ORCA-M Start.sublime-snippet b/Snippets/ORCA-M Start.sublime-snippet new file mode 100644 index 0000000..9377514 --- /dev/null +++ b/Snippets/ORCA-M Start.sublime-snippet @@ -0,0 +1,10 @@ + + + start + source.asm.65816.orcam entity.name.label + start … end + \ No newline at end of file diff --git a/Syntaxes/ORCA-M.sublime-syntax b/Syntaxes/ORCA-M.sublime-syntax index 026710a..04edaf0 100644 --- a/Syntaxes/ORCA-M.sublime-syntax +++ b/Syntaxes/ORCA-M.sublime-syntax @@ -26,6 +26,13 @@ contexts: 2: keyword.directive push: operand-segname + - match: '^({{ident}}){{ws}}((?i)GEQU)\b' + captures: + 1: entity.name.constant + 2: keyword.directive + push: operand + + - match: '^{{ident}}' scope: entity.name.label