Mercurial > vim
comparison runtime/syntax/gsp.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: GSP - GNU Server Pages (v. 0.86) | 2 " Language: GSP - GNU Server Pages (v. 0.86) |
3 " Created By: Nathaniel Harward nharward@yahoo.com | 3 " Created By: Nathaniel Harward nharward@yahoo.com |
4 " Last Changed: Dec. 12, 2000 | 4 " Last Changed: 2012 Jan 08 by Thilo Six |
5 " Filenames: *.gsp | 5 " Filenames: *.gsp |
6 " URL: http://www.constructicon.com/~nharward/vim/syntax/gsp.vim | 6 " URL: http://www.constructicon.com/~nharward/vim/syntax/gsp.vim |
7 | 7 |
8 " For version 5.x: Clear all syntax items | 8 " For version 5.x: Clear all syntax items |
9 " For version 6.x: Quit when a syntax file was already loaded | 9 " For version 6.x: Quit when a syntax file was already loaded |
32 syn include @gspJava <sfile>:p:h/java.vim | 32 syn include @gspJava <sfile>:p:h/java.vim |
33 else | 33 else |
34 syn include @gspJava syntax/java.vim | 34 syn include @gspJava syntax/java.vim |
35 endif | 35 endif |
36 | 36 |
37 let s:cpo_save = &cpo | |
38 set cpo&vim | |
39 | |
37 " Add <java> as an HTML tag name along with its args | 40 " Add <java> as an HTML tag name along with its args |
38 syn keyword htmlTagName contained java | 41 syn keyword htmlTagName contained java |
39 syn keyword htmlArg contained type file page | 42 syn keyword htmlArg contained type file page |
40 | 43 |
41 " Redefine some HTML things to include (and highlight) gspInLine code in | 44 " Redefine some HTML things to include (and highlight) gspInLine code in |
55 let b:current_syntax = "gsp" | 58 let b:current_syntax = "gsp" |
56 | 59 |
57 if main_syntax == 'gsp' | 60 if main_syntax == 'gsp' |
58 unlet main_syntax | 61 unlet main_syntax |
59 endif | 62 endif |
63 | |
64 let &cpo = s:cpo_save | |
65 unlet s:cpo_save |