mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2024-12-21 19:29:16 +00:00
orca-m - add snippets, add GEQUs to symbol list.
This commit is contained in:
parent
0b90126168
commit
d3d18e15ac
16
Preferences/ORCA-M Symbol Lists.tmPreferences
Normal file
16
Preferences/ORCA-M Symbol Lists.tmPreferences
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Symbol List</string>
|
||||
<key>scope</key>
|
||||
<string>source.asm.65816.orcam entity.name.constant, source.asm.65816.orcam entity.name.function</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
10
Snippets/ORCA-M Data.sublime-snippet
Normal file
10
Snippets/ORCA-M Data.sublime-snippet
Normal file
@ -0,0 +1,10 @@
|
||||
<snippet>
|
||||
<content><![CDATA[$1 DATA
|
||||
${0:; ...}
|
||||
END
|
||||
|
||||
]]></content>
|
||||
<tabTrigger>data</tabTrigger>
|
||||
<scope>source.asm.65816.orcam entity.name.label</scope>
|
||||
<description>data … end</description>
|
||||
</snippet>
|
10
Snippets/ORCA-M Private.sublime-snippet
Normal file
10
Snippets/ORCA-M Private.sublime-snippet
Normal file
@ -0,0 +1,10 @@
|
||||
<snippet>
|
||||
<content><![CDATA[$1 PRIVATE
|
||||
${0:; ...}
|
||||
END
|
||||
|
||||
]]></content>
|
||||
<tabTrigger>private</tabTrigger>
|
||||
<scope>source.asm.65816.orcam entity.name.label</scope>
|
||||
<description>private … end</description>
|
||||
</snippet>
|
10
Snippets/ORCA-M Privdata.sublime-snippet
Normal file
10
Snippets/ORCA-M Privdata.sublime-snippet
Normal file
@ -0,0 +1,10 @@
|
||||
<snippet>
|
||||
<content><![CDATA[$1 PRIVDATA
|
||||
${0:; ...}
|
||||
END
|
||||
|
||||
]]></content>
|
||||
<tabTrigger>privdata</tabTrigger>
|
||||
<scope>source.asm.65816.orcam entity.name.label</scope>
|
||||
<description>privdata … end</description>
|
||||
</snippet>
|
10
Snippets/ORCA-M Start.sublime-snippet
Normal file
10
Snippets/ORCA-M Start.sublime-snippet
Normal file
@ -0,0 +1,10 @@
|
||||
<snippet>
|
||||
<content><![CDATA[$1 START
|
||||
${0:; ...}
|
||||
END
|
||||
|
||||
]]></content>
|
||||
<tabTrigger>start</tabTrigger>
|
||||
<scope>source.asm.65816.orcam entity.name.label</scope>
|
||||
<description>start … end</description>
|
||||
</snippet>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user