K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / vim / vim74 / syntax /
server ip : 172.67.156.115

your ip : 172.69.214.235

H O M E


Filename/usr/share/vim/vim74/syntax/webmacro.vim
Size3.39 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified03-Jan-2014 03:40
Last accessed27-Apr-2025 09:55
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
" WebMacro syntax file
" Language: WebMacro
" Maintainer: Claudio Fleiner <[email protected]>
" URL: http://www.fleiner.com/vim/syntax/webmacro.vim
" Last Change: 2003 May 11

" webmacro is a nice little language that you should
" check out if you use java servlets.
" webmacro: http://www.webmacro.org

" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if !exists("main_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
let main_syntax = 'webmacro'
endif


if version < 600
source <sfile>:p:h/html.vim
else
runtime! syntax/html.vim
unlet b:current_syntax
endif

syn cluster htmlPreProc add=webmacroIf,webmacroUse,webmacroBraces,webmacroParse,webmacroInclude,webmacroSet,webmacroForeach,webmacroComment

syn match webmacroVariable "\$[a-zA-Z0-9.()]*;\="
syn match webmacroNumber "[-+]\=\d\+[lL]\=" contained
syn keyword webmacroBoolean true false contained
syn match webmacroSpecial "\\." contained
syn region webmacroString contained start=+"+ end=+"+ contains=webmacroSpecial,webmacroVariable
syn region webmacroString contained start=+'+ end=+'+ contains=webmacroSpecial,webmacroVariable
syn region webmacroList contained matchgroup=Structure start="\[" matchgroup=Structure end="\]" contains=webmacroString,webmacroVariable,webmacroNumber,webmacroBoolean,webmacroList

syn region webmacroIf start="#if" start="#else" end="{"me=e-1 contains=webmacroVariable,webmacroNumber,webmacroString,webmacroBoolean,webmacroList nextgroup=webmacroBraces
syn region webmacroForeach start="#foreach" end="{"me=e-1 contains=webmacroVariable,webmacroNumber,webmacroString,webmacroBoolean,webmacroList nextgroup=webmacroBraces
syn match webmacroSet "#set .*$" contains=webmacroVariable,webmacroNumber,webmacroNumber,webmacroBoolean,webmacroString,webmacroList
syn match webmacroInclude "#include .*$" contains=webmacroVariable,webmacroNumber,webmacroNumber,webmacroBoolean,webmacroString,webmacroList
syn match webmacroParse "#parse .*$" contains=webmacroVariable,webmacroNumber,webmacroNumber,webmacroBoolean,webmacroString,webmacroList
syn region webmacroUse matchgroup=PreProc start="#use .*" matchgroup=PreProc end="^-.*" contains=webmacroHash,@HtmlTop
syn region webmacroBraces matchgroup=Structure start="{" matchgroup=Structure end="}" contained transparent
syn match webmacroBracesError "[{}]"
syn match webmacroComment "##.*$"
syn match webmacroHash "[#{}\$]" contained

" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_webmacro_syn_inits")
if version < 508
let did_webmacro_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif

HiLink webmacroComment CommentTitle
HiLink webmacroVariable PreProc
HiLink webmacroIf webmacroStatement
HiLink webmacroForeach webmacroStatement
HiLink webmacroSet webmacroStatement
HiLink webmacroInclude webmacroStatement
HiLink webmacroParse webmacroStatement
HiLink webmacroStatement Function
HiLink webmacroNumber Number
HiLink webmacroBoolean Boolean
HiLink webmacroSpecial Special
HiLink webmacroString String
HiLink webmacroBracesError Error
delcommand HiLink
endif

let b:current_syntax = "webmacro"

if main_syntax == 'webmacro'
unlet main_syntax
endif