Skip to content

Commit

Permalink
fix(yaml): highlighting of spaces
Browse files Browse the repository at this point in the history
Originally proposed in scopatz#378
  • Loading branch information
earboxer authored and Efreak committed Sep 28, 2023
1 parent d1b2eb0 commit 6c2a4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaml.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "

# Separator
color brightwhite "^\s*-"
color brightwhite ":(\s|\t|$)"
color brightwhite ":(\s|$)"

# Comments
color brightblue "(^|[[:space:]])#.*$"
Expand Down

0 comments on commit 6c2a4ad

Please sign in to comment.