Add RST syntax to mimic Markdown colors (#216)

Co-authored-by: d7xdev <d7xdev@users.noreply.github.com>
This commit is contained in:
d7xdev 2020-11-04 10:18:58 -05:00 committed by GitHub
parent 261765405c
commit 8242b8f5aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
after/syntax/rst.vim Normal file
View file

@ -0,0 +1,26 @@
if dracula#should_abort('rst')
finish
endif
hi! link rstComment Comment
hi! link rstTransition Comment
hi! link rstCodeBlock DraculaGreen
hi! link rstInlineLiteral DraculaGreen
hi! link rstLiteralBlock DraculaGreen
hi! link rstQuotedLiteralBlock DraculaGreen
hi! link rstStandaloneHyperlink DraculaLink
hi! link rstStrongEmphasis DraculaOrangeBold
hi! link rstSections DraculaPurpleBold
hi! link rstEmphasis DraculaYellowItalic
hi! link rstDirective Keyword
hi! link rstSubstitutionDefinition Keyword
hi! link rstCitation String
hi! link rstExDirective String
hi! link rstFootnote String
hi! link rstCitationReference Tag
hi! link rstFootnoteReference Tag
hi! link rstHyperLinkReference Tag
hi! link rstHyperlinkTarget Tag
hi! link rstInlineInternalTargets Tag
hi! link rstInterpretedTextOrHyperlinkReference Tag
hi! link rstTodo Todo