Change highlight of character literals
Better support themes where red can highlight strings and thus the difference between the first and subsequent characters can become invisible
This commit is contained in:
parent
6029ee9815
commit
a7676709cb
|
@ -71,7 +71,7 @@ add-highlighter shared/kotlin/string/ regex \$\{.*?\} 0:value
|
||||||
|
|
||||||
# Character
|
# Character
|
||||||
add-highlighter shared/kotlin/character/ fill value
|
add-highlighter shared/kotlin/character/ fill value
|
||||||
add-highlighter shared/kotlin/character/ regex ('.{1})(.+)(') 2:red
|
add-highlighter shared/kotlin/character/ regex ('.{1})(.+)(') 2:meta
|
||||||
|
|
||||||
# As at 15 March 2021, method see: https://regex101.com/r/Mhy4HG/1
|
# As at 15 March 2021, method see: https://regex101.com/r/Mhy4HG/1
|
||||||
add-highlighter shared/kotlin/code/methods regex ::([A-Za-z_][\w]*)|\.([A-Za-z_][\w]*)\s*?[\(\{]|\.([A-Za-z_][\w]*)[\s\)\}>](?=[^\(\{]) 1:function 2:function 3:function
|
add-highlighter shared/kotlin/code/methods regex ::([A-Za-z_][\w]*)|\.([A-Za-z_][\w]*)\s*?[\(\{]|\.([A-Za-z_][\w]*)[\s\)\}>](?=[^\(\{]) 1:function 2:function 3:function
|
||||||
|
|
Loading…
Reference in New Issue
Block a user