mirror of
https://github.com/Reuh/sublime-candran.git
synced 2025-10-27 10:09: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"],
|
||||
"file_regex": "^(?:can:)?[\t ](...*?):([0-9]*):?([0-9]*)",
|
||||
"selector": "source.can"
|
||||
"selector": "source.candran"
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ file_extensions:
|
|||
- can
|
||||
- candran
|
||||
first_line_match: \A#!.*?\bcan\b
|
||||
scope: source.can
|
||||
scope: source.candran
|
||||
contexts:
|
||||
main:
|
||||
- match: '\b(function)\s+([a-zA-Z_.:]+[.:])?([a-zA-Z_]\w*)\s*(\()([^)]*)(\))'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<key>name</key>
|
||||
<string>Comments</string>
|
||||
<key>scope</key>
|
||||
<string>source.can</string>
|
||||
<string>source.candran</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>shellVariables</key>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>scope</key>
|
||||
<string>source.can</string>
|
||||
<string>source.candran</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>cancelCompletion</key>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<key>name</key>
|
||||
<string>Indent</string>
|
||||
<key>scope</key>
|
||||
<string>source.can</string>
|
||||
<string>source.candran</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>decreaseIndentPattern</key>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue