qlow.vim 1003 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. " Vim syntax file
  2. " Language: Qlow Programming Language
  3. " Maintainer: Nicolas Winkler
  4. " Latest Revision: 07 March 2018
  5. if exists("b:current_syntax")
  6. finish
  7. endif
  8. syn keyword keywordy class do end if while return extern
  9. syn keyword typey Integer Boolean
  10. syn keyword typey String Char
  11. syn keyword typey Int8 Int16 Int32 Int64 Int128 UInt8 UInt16 UInt32 UInt64 UInt128
  12. syn keyword typey Float32 Float64
  13. syntax match identifiery "[a-zA-Z][a-zA-Z0-9]*"
  14. syntax match numbery "\d\+"
  15. syntax match stringy "\".\+\""
  16. syntax match commenty "//.*"
  17. syntax region multicommenty start="/\*" end="\*/" contains=multicommenty
  18. syntax keyword operatory not or and xor
  19. syntax match operatory "\v\:\="
  20. hi def link identifiery None
  21. hi def link numbery Number
  22. hi def link stringy String
  23. hi def link keywordy Keyword
  24. hi def link operatory Operator
  25. hi def link typey Type
  26. hi def link commenty Comment
  27. hi def link multicommenty Comment
  28. hi Operator guifg=#FF0000 guibg=NONE gui=none
  29. let b:current_syntax = "qlw"