Browse Source

add attributes

master
Alison Watson 1 year ago
parent
commit
5629a2ce59
1 changed files with 17 additions and 15 deletions
  1. +17
    -15
      syntax/quakec.vim

+ 17
- 15
syntax/quakec.vim View File

@@ -12,7 +12,8 @@ syn keyword qcTodo contained TODO FIXME XXX
syn keyword qcQuaked contained QUAKED

syn keyword qcType void float vector string entity
syn keyword qcStorageClass local var const
syn keyword qcStorageClass local var const noref static
syn keyword qcAttribute noreturn inline eraseable noerase accumulate last alias deprecated coverage

syn keyword qcConstant TRUE FALSE

@@ -34,24 +35,25 @@ syn region qcComment start="/\*" end="\*/" contains=@qcCommentGroup,@Spell

syn sync ccomment qcComment minlines=10

hi def link qcLineComment qcComment
hi def link qcAttribute qcStorageClass
hi def link qcBuiltin PreProc
hi def link qcComment Comment
hi def link qcConditional Conditional
hi def link qcRepeat Repeat
hi def link qcString String
hi def link qcSpecial SpecialChar
hi def link qcNumber Number
hi def link qcVector String
hi def link qcConstant Constant
hi def link qcFrame Number
hi def link qcBuiltin PreProc
hi def link qcLabel Label
hi def link qcLineComment qcComment
hi def link qcNumber Number
hi def link qcPragma PreProc
hi def link qcType Type
hi def link qcStorageClass StorageClass
hi def link qcQuaked Label
hi def link qcRepeat Repeat
hi def link qcSpecial SpecialChar
hi def link qcStatement Statement
hi def link qcConstant Constant

hi def link qcTodo Todo
hi def link qcQuaked Label
hi def link qcLabel Label
hi def link qcStorageClass StorageClass
hi def link qcString String
hi def link qcStructure Structure
hi def link qcTodo Todo
hi def link qcType Type
hi def link qcVector String

let b:current_syntax = "quakec"

Loading…
Cancel
Save