filetype: crystal
detect:
- filename: "\\.cr$|Gemfile|config.ru|Rakefile|Capfile|Vagrantfile"
+ filename: "\\.cr$"
rules:
# Asciibetical list of reserved words
- constant.string:
start: "\""
- end: "(?<!\\\\)\""
+ end: "\""
+ skip: "\\\\."
rules:
- - constant.specialchar: "\\\\."
+ - constant.specialChar: "\\\\."
- special: "#\\{[^}]*\\}"
- constant.string:
start: "'"
- end: "(?<!\\\\)'"
- rules: []
+ end: "'"
+ skip: "\\\\."
+ rules:
+ - constant.specialChar: "\\\\."
- comment:
start: "#"