8803d93872
This may be a breaking change if you are using a plugin that checks the filetype. All the default plugins are now updated, just make the filetype you were checking for previously all lowercase.
28 lines
470 B
Text
28 lines
470 B
Text
## For reST
|
|
syntax "rst" "\.rest$" "\.rst$"
|
|
# italics
|
|
#color magenta "\*[^*]\*"
|
|
# bold
|
|
color red "\*\*[^*]+\*\*"
|
|
# code block
|
|
color brightred "::"
|
|
# link reference
|
|
color blue "`[^`]+`_{1,2}"
|
|
# code
|
|
color yellow "``[^`]+``"
|
|
# directives or comments
|
|
color cyan "^\.\. .*$"
|
|
# anon link targets
|
|
color cyan "^__ .*$"
|
|
# h1
|
|
color yellow "^###+$"
|
|
color yellow "^\*\*\*+$"
|
|
# h2
|
|
color magenta "^===+$"
|
|
# h3
|
|
color red "^---+$"
|
|
# h4
|
|
color green "^\^\^\^+$"
|
|
# h5
|
|
color blue "^"""+$"
|