mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +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:
|
rules:
|
||||||
# Conditionals and control flow
|
# Conditionals and control flow
|
||||||
- special: "\\b(break|case|continue|default|go|goto|range|return)\\b"
|
- special: "\\b(break|case|continue|default|go|goto|range|return|println|fallthrough)\\b"
|
||||||
- statement: "\\b(else|for|if|switch)\\b"
|
- statement: "\\b(else|for|if|switch|select)\\b"
|
||||||
- preproc: "\\b(package|import|const|var|type|struct|func|go|defer|iota)\\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: "[-+/*=<>!~%&|^]|:="
|
- symbol.operator: "[-+/*=<>!~%&|^]|:="
|
||||||
|
|
||||||
# Types
|
# Types
|
||||||
|
|||||||
Reference in New Issue
Block a user