godebugvariables.vim 689 B

1234567891011121314151617181920212223
  1. if exists("b:current_syntax")
  2. finish
  3. endif
  4. syn match godebugTitle '^#.*'
  5. syn match godebugVariables '^\s*\S\+\ze:'
  6. syn keyword goType chan map bool string error
  7. syn keyword goSignedInts int int8 int16 int32 int64 rune
  8. syn keyword goUnsignedInts byte uint uint8 uint16 uint32 uint64 uintptr
  9. syn keyword goFloats float32 float64
  10. syn keyword goComplexes complex64 complex128
  11. syn keyword goBoolean true false
  12. let b:current_syntax = "godebugvariables"
  13. hi def link godebugTitle Underlined
  14. hi def link godebugVariables Statement
  15. hi def link goType Type
  16. hi def link goBoolean Boolean
  17. " vim: sw=2 ts=2 et