File: d.vim

package info (click to toggle)
clisp 1%3A2.44.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 40,080 kB
  • ctags: 12,945
  • sloc: lisp: 77,546; ansic: 32,166; xml: 25,161; sh: 11,568; fortran: 7,094; cpp: 2,636; makefile: 1,234; perl: 164
file content (27 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
" Vim syntax file
" Language: C (CLISP *.d files)

" Read the C syntax to start with
runtime! syntax/c.vim
unlet b:current_syntax

set enc=utf-8

syn keyword dObject true false NIL T nullobj unbound
syn keyword dType local global maygc var inline object
syn match dType "\<[us]int[LW]\>"
syn match dType "\<[a-zA-Z0-9_]*_t\>"
syn keyword dOperator popSTACK pushSTACK skipSTACK skipSTACKop STACKop loop
syn keyword dOperator nonreturning_function return_Values DEFUN O S funcall
syn keyword dOperator SstringDispatch SstringCase NOTREACHED GETTEXT until
syn match dOperator "\<dotimesp?[CLW]\>"
syn match dOperator "\<LISPFUN[NR]*\>"
syn match dOperator "\<VALUES[0-9]\>"
syn region dCommentL start="# " skip="\\$" end="$" keepend contains=@cCommentGroup,cComment2String,cCharacter,cNumbersCom,cSpaceError,@Spell

hi def link dType Type
hi def link dOperator Operator
hi def link dCommentL Comment
hi def link dObject Boolean

let b:current_syntax = "d"