From 27903c5b8656c796564ef073c1ebe77a2f0154e1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 28 Sep 2017 22:18:09 +0200 Subject: Revert inlining basic language pack --- syntax/gsp.vim | 58 ---------------------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 syntax/gsp.vim (limited to 'syntax/gsp.vim') diff --git a/syntax/gsp.vim b/syntax/gsp.vim deleted file mode 100644 index cf8df043..00000000 --- a/syntax/gsp.vim +++ /dev/null @@ -1,58 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 - -" Vim syntax file -" Language: GSP - GNU Server Pages (v. 0.86) -" Created By: Nathaniel Harward nharward@yahoo.com -" Last Changed: 2012 Jan 08 by Thilo Six -" Filenames: *.gsp -" URL: http://www.constructicon.com/~nharward/vim/syntax/gsp.vim - -" quit when a syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -if !exists("main_syntax") - let main_syntax = 'gsp' -endif - -" Source HTML syntax -runtime! syntax/html.vim -unlet b:current_syntax - -syn case match - -" Include Java syntax -syn include @gspJava syntax/java.vim - -let s:cpo_save = &cpo -set cpo&vim - -" Add as an HTML tag name along with its args -syn keyword htmlTagName contained java -syn keyword htmlArg contained type file page - -" Redefine some HTML things to include (and highlight) gspInLine code in -" places where it's likely to be found -syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,gspInLine -syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,gspInLine -syn match htmlValue contained "=[\t ]*[^'" \t>][^ \t>]*"hs=s+1 contains=javaScriptExpression,@htmlPreproc,gspInLine -syn region htmlEndTag start=++ contains=htmlTagN,htmlTagError,gspInLine -syn region htmlTag start=+<[^/]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster,gspInLine -syn match htmlTagN contained +<\s*[-a-zA-Z0-9]\++hs=s+1 contains=htmlTagName,htmlSpecialTagName,@htmlTagNameCluster,gspInLine -syn match htmlTagN contained +[^>]*\>" end=""me=e-7 contains=@gspJava,htmlTag -syn region gspInLine matchgroup=htmlError start="`" end="`" contains=@gspJava - -let b:current_syntax = "gsp" - -if main_syntax == 'gsp' - unlet main_syntax -endif - -let &cpo = s:cpo_save -unlet s:cpo_save - -endif -- cgit v1.2.3