summaryrefslogtreecommitdiff
path: root/runtime/syntax/hb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/hb.vim')
-rw-r--r--runtime/syntax/hb.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/hb.vim b/runtime/syntax/hb.vim
index 6df30543b..d4de3ff1e 100644
--- a/runtime/syntax/hb.vim
+++ b/runtime/syntax/hb.vim
@@ -2,7 +2,7 @@
" Language: Hyper Builder
" Maintainer: Alejandro Forero Cuervo
" URL: http://bachue.com/hb/vim/syntax/hb.vim
-" Last Change: 2001 Sep 02
+" Last Change: 2012 Jan 08 by Thilo Six
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -12,6 +12,9 @@ elseif exists("b:current_syntax")
finish
endif
+let s:cpo_save = &cpo
+set cpo&vim
+
" Read the HTML syntax to start with
"syn include @HTMLStuff <sfile>:p:h/htmlhb.vim
@@ -94,4 +97,6 @@ syn sync match Normal grouphere NONE "^:\s*include\s\+[^ \t]\+$"
let b:current_syntax = "hb"
+let &cpo = s:cpo_save
+unlet s:cpo_save
" vim: ts=8