From d1a9f3f7269ebe5bd60cc7897b2f587e497b7bf0 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 24 Apr 2025 08:46:50 -0400 Subject: [PATCH] Updated coloring for Golang --- config/go.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/go.conf b/config/go.conf index 47230c2..2f0b8fa 100644 --- a/config/go.conf +++ b/config/go.conf @@ -18,11 +18,9 @@ '(&&)|(\|\|)': CYAN # Keywords '\b(if|else|for|range|go|func|return|break|continue)\b': CYAN -'\b(import|var|const|type|struct)\b': CYAN +'\b(package|import|var|const|type|struct)\b': CYAN # Built-in Functions -'\b(panic|len)\b': DARKBLUE -# Functions from packages (package name and function name separated by dot) -'\b(\w*\.\w*)\b': DARKBLUE +'\b(panic|len)\b': GREEN # Data Types '\b(bool|byte|rune|string|interface|map|chan)\b': YELLOW '\b(u?int)(8|16|32|64)?\b': YELLOW