micro/runtime/syntax/reST.micro
Zachary Yedidia 8803d93872 Make all filetype names lowercase
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.
2016-08-25 15:48:02 -04:00

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 "^"""+$"