qlow.vim 934 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 struct do end if while return extern as new
  9. syn keyword typey Integer Boolean
  10. syn keyword typey String Char
  11. syn keyword typey Float32 Float64
  12. syntax match identifiery "[a-zA-Z][a-zA-Z0-9]*"
  13. syntax match numbery "\d\+"
  14. syntax match stringy "\".\+\""
  15. syntax match commenty "//.*"
  16. syntax region multicommenty start="/\*" end="\*/" contains=multicommenty
  17. syntax keyword operatory not or and xor
  18. syntax match operatory "\v\:\="
  19. hi def link identifiery None
  20. hi def link numbery Number
  21. hi def link stringy String
  22. hi def link keywordy Keyword
  23. hi def link operatory Operator
  24. hi def link typey Type
  25. hi def link commenty Comment
  26. hi def link multicommenty Comment
  27. hi Operator guifg=#FF0000 guibg=NONE gui=none
  28. let b:current_syntax = "qlw"