mirror of
https://github.com/Reuh/sublime-candran.git
synced 2025-10-27 18:19:31 +00:00
Change scope name: source.can -> source.candran
This commit is contained in:
parent
aff3d6807d
commit
879d2ff30b
5 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"cmd": ["can", "$file"],
|
"cmd": ["can", "$file"],
|
||||||
"file_regex": "^(?:can:)?[\t ](...*?):([0-9]*):?([0-9]*)",
|
"file_regex": "^(?:can:)?[\t ](...*?):([0-9]*):?([0-9]*)",
|
||||||
"selector": "source.can"
|
"selector": "source.candran"
|
||||||
}
|
}
|
||||||
|
|
@ -7,7 +7,7 @@ file_extensions:
|
||||||
- can
|
- can
|
||||||
- candran
|
- candran
|
||||||
first_line_match: \A#!.*?\bcan\b
|
first_line_match: \A#!.*?\bcan\b
|
||||||
scope: source.can
|
scope: source.candran
|
||||||
contexts:
|
contexts:
|
||||||
main:
|
main:
|
||||||
- match: '\b(function)\s+([a-zA-Z_.:]+[.:])?([a-zA-Z_]\w*)\s*(\()([^)]*)(\))'
|
- match: '\b(function)\s+([a-zA-Z_.:]+[.:])?([a-zA-Z_]\w*)\s*(\()([^)]*)(\))'
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>Comments</string>
|
<string>Comments</string>
|
||||||
<key>scope</key>
|
<key>scope</key>
|
||||||
<string>source.can</string>
|
<string>source.candran</string>
|
||||||
<key>settings</key>
|
<key>settings</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>shellVariables</key>
|
<key>shellVariables</key>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>scope</key>
|
<key>scope</key>
|
||||||
<string>source.can</string>
|
<string>source.candran</string>
|
||||||
<key>settings</key>
|
<key>settings</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>cancelCompletion</key>
|
<key>cancelCompletion</key>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<key>name</key>
|
<key>name</key>
|
||||||
<string>Indent</string>
|
<string>Indent</string>
|
||||||
<key>scope</key>
|
<key>scope</key>
|
||||||
<string>source.can</string>
|
<string>source.candran</string>
|
||||||
<key>settings</key>
|
<key>settings</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>decreaseIndentPattern</key>
|
<key>decreaseIndentPattern</key>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue