robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ab20681c52
master
1" Vim syntax file 2" Language: PLP (Perl in HTML) 3" Maintainer: Juerd <juerd@juerd.nl> 4" Last Change: 2003 Apr 25 5" Cloned From: aspperl.vim 6 7" Add to filetype.vim the following line (without quote sign): 8" au BufNewFile,BufRead *.plp setf plp 9 10" quit when a syntax file was already loaded 11if exists ( "b:current_syntax" ) 12finish 13endif 14 15if ! exists ( "main_syntax" ) 16let main_syntax = 'perlscript' 17endif 18 19runtime ! syntax/html.vim 20unlet b: current_syntax 21syn include @PLPperl syntax/perl.vim 22 23syn cluster htmlPreproc add = PLPperlblock 24 25syn keyword perlControl PLP_END 26syn keyword perlStatementInclude include Include 27syn keyword perlStatementFiles ReadFile WriteFile Counter 28syn keyword perlStatementScalar Entity AutoURL DecodeURI EncodeURI 29 30syn cluster PLPperlcode contains = perlStatement. *,perlFunction,perlOperator,perlVarPlain,perlVarNotInMatches,perlShellCommand,perlFloat,perlNumber,perlStringUnexpanded,perlString,perlQQ,perlControl,perlConditional,perlRepeat,perlComment,perlPOD,perlHereDoc,perlPackageDecl,perlElseIfError,perlFiledescRead,perlMatch 31 32syn region PLPperlblock keepend matchgroup = Delimiter start = +<:=\= +end = +:> +transparent contains = @PLPperlcode 33 34syn region PLPinclude keepend matchgroup = Delimiter start = +<( +end = +)> + 35 36let b: current_syntax = "plp" 37