Files for ACS highlighting in vim.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

34 lignes
1.1 KiB

il y a 2 ans
il y a 2 ans
il y a 2 ans
il y a 2 ans
il y a 2 ans
il y a 2 ans
il y a 2 ans
  1. " Vim syntax file
  2. " Language: ACS (Doom actionscript)
  3. " Maintainer: Zelaven
  4. " Latest Revision: 2022-04-14
  5. if exists("b:current_syntax")
  6. finish
  7. endif
  8. syn keyword language_keywords script function if else while return while for switch case break default terminate
  9. hi def link language_keywords Keyword
  10. syn keyword script_types OPEN ENTER RETURN RESPAWN DEATH LIGHTNING UNLOADING DISCONNECT KILL REOPEN NET CLIENTSIDE
  11. hi def link script_types Keyword
  12. syn keyword types int str bool void
  13. hi def link types Type
  14. syn keyword TODO TODO FIXME XXX
  15. hi def link TODO Todo
  16. " @Spell means spell checking if I understand correctly.
  17. syn region line_comment start="//" end="$" contains=TODO,@Spell
  18. hi def link line_comment Comment
  19. syn region block_comment start="/\*" end="\*/" contains=TODO,@Spell,line_comment,block_comment
  20. hi def link block_comment Comment
  21. syn region string start=+"+ end=+"+
  22. hi def link string String
  23. syn keyword boolean_constant true false
  24. hi def link boolean_constant Boolean
  25. syn match number_constant "\<[0-9]*\>"
  26. hi def link number_constant Number
  27. let b:current_syntax = "acs"