Highlight object keys in yaml
This commit is contained in:
parent
3a0d9481ac
commit
736720f31a
|
@ -23,6 +23,7 @@ add-highlighter -group /yaml/comment fill comment
|
||||||
add-highlighter -group /yaml/code regex ^(---|\.\.\.)$ 0:meta
|
add-highlighter -group /yaml/code regex ^(---|\.\.\.)$ 0:meta
|
||||||
add-highlighter -group /yaml/code regex ^(\h*:\w*) 0:keyword
|
add-highlighter -group /yaml/code regex ^(\h*:\w*) 0:keyword
|
||||||
add-highlighter -group /yaml/code regex \b(true|false|null)\b 0:value
|
add-highlighter -group /yaml/code regex \b(true|false|null)\b 0:value
|
||||||
|
add-highlighter -group /yaml/code regex ^\h*-?\h*(\S+): 1:attribute
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
# ‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾
|
||||||
|
|
Loading…
Reference in New Issue
Block a user