Mercurial > vim
comparison runtime/syntax/hb.vim @ 3256:ba708ee8d69d
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 Jan 2012 14:55:01 +0100 |
parents | 3fc0f57ecb91 |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
3255:3c04cfb72ad9 | 3256:ba708ee8d69d |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Hyper Builder | 2 " Language: Hyper Builder |
3 " Maintainer: Alejandro Forero Cuervo | 3 " Maintainer: Alejandro Forero Cuervo |
4 " URL: http://bachue.com/hb/vim/syntax/hb.vim | 4 " URL: http://bachue.com/hb/vim/syntax/hb.vim |
5 " Last Change: 2001 Sep 02 | 5 " Last Change: 2012 Jan 08 by Thilo Six |
6 | 6 |
7 " For version 5.x: Clear all syntax items | 7 " For version 5.x: Clear all syntax items |
8 " For version 6.x: Quit when a syntax file was already loaded | 8 " For version 6.x: Quit when a syntax file was already loaded |
9 if version < 600 | 9 if version < 600 |
10 syntax clear | 10 syntax clear |
11 elseif exists("b:current_syntax") | 11 elseif exists("b:current_syntax") |
12 finish | 12 finish |
13 endif | 13 endif |
14 | |
15 let s:cpo_save = &cpo | |
16 set cpo&vim | |
14 | 17 |
15 " Read the HTML syntax to start with | 18 " Read the HTML syntax to start with |
16 "syn include @HTMLStuff <sfile>:p:h/htmlhb.vim | 19 "syn include @HTMLStuff <sfile>:p:h/htmlhb.vim |
17 | 20 |
18 "this would be nice but we are supposed not to do it | 21 "this would be nice but we are supposed not to do it |
92 "syn sync match Block grouphere HBDirectiveSet "^#:\s*set\s\+[^ \t]\+" | 95 "syn sync match Block grouphere HBDirectiveSet "^#:\s*set\s\+[^ \t]\+" |
93 "syn sync match Block grouphere HBDirectiveOut "^#:\s*out\s\+[^ \t]\+" | 96 "syn sync match Block grouphere HBDirectiveOut "^#:\s*out\s\+[^ \t]\+" |
94 | 97 |
95 let b:current_syntax = "hb" | 98 let b:current_syntax = "hb" |
96 | 99 |
100 let &cpo = s:cpo_save | |
101 unlet s:cpo_save | |
97 " vim: ts=8 | 102 " vim: ts=8 |