summaryrefslogtreecommitdiff
path: root/runtime/syntax/gsp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/gsp.vim')
-rw-r--r--runtime/syntax/gsp.vim19
1 files changed, 4 insertions, 15 deletions
diff --git a/runtime/syntax/gsp.vim b/runtime/syntax/gsp.vim
index e7b1b1632..6270b2af6 100644
--- a/runtime/syntax/gsp.vim
+++ b/runtime/syntax/gsp.vim
@@ -5,11 +5,8 @@
" Filenames: *.gsp
" URL: http://www.constructicon.com/~nharward/vim/syntax/gsp.vim
-" For version 5.x: Clear all syntax items
-" For version 6.x: Quit when a syntax file was already loaded
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
finish
endif
@@ -18,21 +15,13 @@ if !exists("main_syntax")
endif
" Source HTML syntax
-if version < 600
- source <sfile>:p:h/html.vim
-else
- runtime! syntax/html.vim
-endif
+runtime! syntax/html.vim
unlet b:current_syntax
syn case match
" Include Java syntax
-if version < 600
- syn include @gspJava <sfile>:p:h/java.vim
-else
- syn include @gspJava syntax/java.vim
-endif
+syn include @gspJava syntax/java.vim
let s:cpo_save = &cpo
set cpo&vim