summaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-01-10 14:55:01 +0100
committerBram Moolenaar <Bram@vim.org>2012-01-10 14:55:01 +0100
commit6ee8d89cf9c283992323ab6d9ff3b59390639ee9 (patch)
tree2ba1ccf8a2cf2060a1dbf92cec962cc445cec05a /runtime/syntax/help.vim
parent64a72303f8048a1288a03b65350c5d6727a78932 (diff)
downloadvim-git-6ee8d89cf9c283992323ab6d9ff3b59390639ee9.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index d3002a573..6bd8dd09b 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,13 +1,16 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2011 Dec 03
+" Last Change: 2012 Jan 08
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
endif
+let s:cpo_save = &cpo
+set cpo&vim
+
syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()]*[ \t]\+\*"me=e-1
syn match helpSectionDelim "^=\{3,}.*===$"
syn match helpSectionDelim "^-\{3,}.*--$"
@@ -196,4 +199,6 @@ hi def link helpURL String
let b:current_syntax = "help"
+let &cpo = s:cpo_save
+unlet s:cpo_save
" vim: ts=8 sw=2