mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 15:47:14 -04:00
Fix bugs in syntax files
Fix various bugs in syntax files. Add c++ syntax file. Only save last line's endstate in highlight function.
This commit is contained in:
@@ -5,7 +5,7 @@ detect:
|
||||
|
||||
rules:
|
||||
# Operators
|
||||
- statement: "[.:;,+*|=!?\\%]" "<" ">" "/" "-" "&"
|
||||
- statement: "([.:;,+*|=!?\\%]|<|>|/|-|&)"
|
||||
|
||||
# Statements
|
||||
- statement: "(class|import|let|var|struct|enum|func|if|else|switch|case|default|for|in|internal|external|unowned|private|public|throws)\\ "
|
||||
|
||||
Reference in New Issue
Block a user