aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/rst.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-19 00:29:09 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-19 00:29:09 -0400
commitf3d6c443d98e06adcb3bfb7e7edd4d9be9588092 (patch)
tree39faca31e1e2fce05d448387beeab078a93e4d3f /runtime/syntax/rst.vim
parent1b1b920ba8f40a47e7fe7ce4968c7017878635d4 (diff)
parentbf6351022818c90654b0152c449fd7a2dee81271 (diff)
downloadrneovim-f3d6c443d98e06adcb3bfb7e7edd4d9be9588092.tar.gz
rneovim-f3d6c443d98e06adcb3bfb7e7edd4d9be9588092.tar.bz2
rneovim-f3d6c443d98e06adcb3bfb7e7edd4d9be9588092.zip
Merge pull request #4602 from dbarnett/vim-12969c0
vim-patch:12969c0
Diffstat (limited to 'runtime/syntax/rst.vim')
-rw-r--r--runtime/syntax/rst.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/rst.vim b/runtime/syntax/rst.vim
index c1f25699e7..8b17104be4 100644
--- a/runtime/syntax/rst.vim
+++ b/runtime/syntax/rst.vim
@@ -2,7 +2,7 @@
" Language: reStructuredText documentation format
" Maintainer: Marshall Ward <marshall.ward@gmail.com>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2014-10-03
+" Latest Revision: 2015-09-07
if exists("b:current_syntax")
finish
@@ -81,7 +81,7 @@ syn region rstHyperlinkTarget matchgroup=rstDirective
execute 'syn region rstExDirective contained matchgroup=rstDirective' .
\ ' start=+' . s:ReferenceName . '::\_s+' .
\ ' skip=+^$+' .
- \ ' end=+^\s\@!+ contains=@rstCruft'
+ \ ' end=+^\s\@!+ contains=@rstCruft,rstLiteralBlock'
execute 'syn match rstSubstitutionDefinition contained' .
\ ' /|' . s:ReferenceName . '|\_s\+/ nextgroup=@rstDirectives'