summaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-28 13:53:34 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-28 13:53:34 +0100
commit3678208477b1f0586128f7f18a6382d342c0c960 (patch)
treec96e68878f240a8bb87c1da6d25971d5b9bd4d42 /runtime/syntax
parentc62a644eaf31ff1ea6e3d569d0fe8c9d4eb3d908 (diff)
downloadvim-3678208477b1f0586128f7f18a6382d342c0c960.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/help.vim5
-rw-r--r--runtime/syntax/rst.vim4
2 files changed, 4 insertions, 5 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 27f7ff181..52c96fc66 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2013 Sep 05
+" Last Change: 2013 Nov 17
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -153,7 +153,7 @@ syn sync minlines=40
" Define the default highlighting.
" Only used when an item doesn't have highlighting yet
hi def link helpIgnore Ignore
-hi def link helpHyperTextJump Subtitle
+hi def link helpHyperTextJump Identifier
hi def link helpBar Ignore
hi def link helpBacktick Ignore
hi def link helpStar Ignore
@@ -168,7 +168,6 @@ hi def link helpOption Type
hi def link helpNotVi Special
hi def link helpSpecial Special
hi def link helpNote Todo
-hi def link Subtitle Identifier
hi def link helpComment Comment
hi def link helpConstant Constant
diff --git a/runtime/syntax/rst.vim b/runtime/syntax/rst.vim
index 159d14ef3..425d22511 100644
--- a/runtime/syntax/rst.vim
+++ b/runtime/syntax/rst.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: reStructuredText documentation format
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2013-06-03
+" Latest Revision: 2013-11-26
if exists("b:current_syntax")
finish
@@ -152,7 +152,7 @@ for code in g:rst_syntax_code_list
exe 'syn region rstDirective'.code.' matchgroup=rstDirective fold '
\.'start=#\%(sourcecode\|code\%(-block\)\=\)::\s\+'.code.'\s*$# '
\.'skip=#^$# '
- \.'end=#^\s\@!# contains=@NoSpell,@rst'.code
+ \.'end=#^\s\@!# contains=@NoSpell,@rst'.code.' keepend'
exe 'syn cluster rstDirectives add=rstDirective'.code
endfor