1
0
Fork 0
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:
Étienne Fildadut 2018-12-30 14:49:34 +01:00
parent aff3d6807d
commit 879d2ff30b
5 changed files with 5 additions and 5 deletions

View file

@ -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"
} }

View file

@ -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*(\()([^)]*)(\))'

View file

@ -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>

View file

@ -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>

View file

@ -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>