Updated coloring for Golang
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user