rc yaml: "#" inside a word is not a comment
This commit is contained in:
parent
26cf5cd1dc
commit
41059b3f0c
|
@ -34,7 +34,7 @@ add-highlighter shared/yaml regions
|
|||
add-highlighter shared/yaml/code default-region group
|
||||
add-highlighter shared/yaml/double_string region '"' (?<!\\)(\\\\)*" fill string
|
||||
add-highlighter shared/yaml/single_string region "'" "'" fill string
|
||||
add-highlighter shared/yaml/comment region '#' '$' fill comment
|
||||
add-highlighter shared/yaml/comment region '(?:^| )#' $ fill comment
|
||||
|
||||
add-highlighter shared/yaml/code/ regex ^(---|\.\.\.)$ 0:meta
|
||||
add-highlighter shared/yaml/code/ regex ^(\h*:\w*) 0:keyword
|
||||
|
|
Loading…
Reference in New Issue
Block a user