mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 15:10:27 +09:00
committed by
Zachary Yedidia
parent
6a465500bc
commit
8d373cde6e
File diff suppressed because one or more lines are too long
@@ -5,9 +5,9 @@ detect:
|
||||
|
||||
rules:
|
||||
# Conditionals and control flow
|
||||
- special: "\\b(break|case|continue|default|go|goto|range|return)\\b"
|
||||
- statement: "\\b(else|for|if|switch)\\b"
|
||||
- preproc: "\\b(package|import|const|var|type|struct|func|go|defer|iota)\\b"
|
||||
- special: "\\b(break|case|continue|default|go|goto|range|return|println|fallthrough)\\b"
|
||||
- statement: "\\b(else|for|if|switch|select)\\b"
|
||||
- preproc: "\\b(package|import|const|var|type|struct|func|defer|iota|make|new|copy|len|cap|panic|append|close|delete|print|recover)\\b"
|
||||
- symbol.operator: "[-+/*=<>!~%&|^]|:="
|
||||
|
||||
# Types
|
||||
|
||||
Reference in New Issue
Block a user