From 879d2ff30b11320e0c2ebca3a63d9454f4e4ce62 Mon Sep 17 00:00:00 2001 From: Reuh Date: Sun, 30 Dec 2018 14:49:34 +0100 Subject: [PATCH] Change scope name: source.can -> source.candran --- Candran.sublime-build | 2 +- Candran.sublime-syntax | 2 +- Comments.tmPreferences | 2 +- Completion Rules.tmPreferences | 2 +- Indent.tmPreferences | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Candran.sublime-build b/Candran.sublime-build index 8e6f84b..c2c652d 100755 --- a/Candran.sublime-build +++ b/Candran.sublime-build @@ -1,5 +1,5 @@ { "cmd": ["can", "$file"], "file_regex": "^(?:can:)?[\t ](...*?):([0-9]*):?([0-9]*)", - "selector": "source.can" + "selector": "source.candran" } \ No newline at end of file diff --git a/Candran.sublime-syntax b/Candran.sublime-syntax index 46c4763..95ad3f3 100755 --- a/Candran.sublime-syntax +++ b/Candran.sublime-syntax @@ -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*(\()([^)]*)(\))' diff --git a/Comments.tmPreferences b/Comments.tmPreferences index 4abd69c..31f5228 100755 --- a/Comments.tmPreferences +++ b/Comments.tmPreferences @@ -4,7 +4,7 @@ name Comments scope - source.can + source.candran settings shellVariables diff --git a/Completion Rules.tmPreferences b/Completion Rules.tmPreferences index 1d8fcd8..0d66352 100755 --- a/Completion Rules.tmPreferences +++ b/Completion Rules.tmPreferences @@ -2,7 +2,7 @@ scope - source.can + source.candran settings cancelCompletion diff --git a/Indent.tmPreferences b/Indent.tmPreferences index c0ad9ae..b95a8a0 100755 --- a/Indent.tmPreferences +++ b/Indent.tmPreferences @@ -4,7 +4,7 @@ name Indent scope - source.can + source.candran settings decreaseIndentPattern