From a287ba2cc48e55ccc2ff149647767a4f4df5f5d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=80=C9=B4=E1=B4=9B=E1=B4=8F=C9=B4=20=C9=B4=E1=B4=8F?= =?UTF-8?q?=E1=B4=A0=E1=B4=8F=E1=B4=8A=C9=AA=CA=9F=E1=B4=8F=E1=B4=A0?= Date: Sat, 25 Dec 2021 14:46:49 +0300 Subject: [PATCH] Improved default Go syntax highlighting --- BLACKHOLE.sublime-color-scheme | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/BLACKHOLE.sublime-color-scheme b/BLACKHOLE.sublime-color-scheme index 72b93bf..360d4da 100644 --- a/BLACKHOLE.sublime-color-scheme +++ b/BLACKHOLE.sublime-color-scheme @@ -9,6 +9,7 @@ "punctuation": "color(var(highlighted) alpha(0.7))", "function": "#7297BF", "function-call": "#E9543F", + "variable": "#8AE234", "directive": "#CEB858", "diff_add": "#8FC440", "diff_del": "#C44040", @@ -74,7 +75,7 @@ { "name": "Variable", "scope": "variable.other, punctuation.definition.variable, punctuation.section.expansion.parameter", - "foreground": "#8AE234" + "foreground": "var(variable)" }, { "name": "Variable Explicit", @@ -271,6 +272,21 @@ "foreground": "var(entity)", "font_style": "italic" }, + { + "name": "Go External Variables", + "scope": "variable.other.go, variable.other.constant.declaration.go", + "foreground": "var(highlighted)" + }, + { + "name": "Go Empty Variables", + "scope": "variable.language.blank.go", + "foreground": "var(variable)" + }, + { + "name": "Go Variables", + "scope": "variable.declaration.go", + "foreground": "var(variable)" + }, { "name": "Diff Header", "scope": "meta.diff, meta.diff.header, punctuation.separator.key-value.diff, meta.separator.diff",