mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
More fixes to highlights
This commit is contained in:
parent
600679896c
commit
ebf4d77c6b
@ -198,7 +198,7 @@
|
||||
; A keyword-style argument when calling a method.
|
||||
(pair
|
||||
key: (hash_key_symbol) @constant.other.symbol.hashkey.ruby
|
||||
":" @constant.other.symbol.hashkey.ruby
|
||||
":" @punctuation.definition.constant.hashkey.ruby
|
||||
(#set! final "true")
|
||||
)
|
||||
|
||||
@ -248,8 +248,8 @@
|
||||
(bare_symbol)
|
||||
] @constant.other.symbol.ruby
|
||||
|
||||
(regex) @string.special.regex
|
||||
(escape_sequence) @escape
|
||||
(regex "/" @punctuation.section.regexp (string_content) @string.special.regex)
|
||||
(escape_sequence) @constant.character.escape
|
||||
|
||||
[
|
||||
(integer)
|
||||
@ -330,10 +330,8 @@
|
||||
"**"
|
||||
] @keyword.operator.arithmetic.ruby
|
||||
|
||||
[
|
||||
"=>"
|
||||
"->"
|
||||
] @keyword.operator.ruby
|
||||
"=>" @punctuation.separator.key-value
|
||||
"->" @keyword.operator.ruby
|
||||
|
||||
[
|
||||
","
|
||||
|
Loading…
Reference in New Issue
Block a user