Compare commits
5 Commits
e8e83886b6
...
3f89fa04ff
Author | SHA1 | Date |
---|---|---|
rhiannon morris | 3f89fa04ff | |
rhiannon morris | 72e16377a8 | |
Vanessa McHale | 8e3e722b6d | |
Vanessa McHale | a175766872 | |
Vanessa McHale | 045fa53f1e |
|
@ -37,7 +37,7 @@ syn match atsArrow '=/=>>'
|
|||
syn region atsArrow start="=<" end=">" contains=arrowContents
|
||||
syn region atsArrow start="-<" end=">"
|
||||
|
||||
syn keyword atsType void bool string char int uint uint8 uint32 uint16 int8 int32 int16 charNZ strnptr Strptr0 Strptr1 nat lint ulint double float size_t
|
||||
syn keyword atsType void bool string char int uint uint8 uint32 uint64 uint16 int8 int32 int16 int64 charNZ strnptr Strptr0 Strptr1 nat lint ulint double float size_t llint ullint
|
||||
syn keyword atsType datavtype datatype vtypedef dataviewtype viewtypdef typedef view viewdef dataview abstype absvtype absviewtype absview datasort dataprop type viewtype vtype propdef prop
|
||||
syn keyword atsType absimpl absprop
|
||||
syn keyword atsType implement primplmnt extern
|
||||
|
@ -54,10 +54,10 @@ syn match atsComment "\v\/\/.*$" contains=atsTodo,@Spell
|
|||
syn region atsNestComment start="/\*" end="\*/" contains=atsNestComment,atsTodo,@Spell
|
||||
syn region atsNestParenComment start="(\*" end="\*)" contains=atsTodo,@Spell,atsNestParenComment
|
||||
|
||||
syntax match atsType 'absvt@ype'
|
||||
syntax match atsType 'vt@ype'
|
||||
syntax match atsType 'abst@ype'
|
||||
syntax match atsType 't@ype'
|
||||
syntax match atsType 'absvt@ype' contains=atsOperator
|
||||
syntax match atsType 'vt@ype' contains=atsOperator
|
||||
syntax match atsType 'abst@ype' contains=atsOperator
|
||||
syntax match atsType 't@ype' contains=atsOperator
|
||||
|
||||
syntax match logicalAnd '&&' conceal cchar=∧
|
||||
syntax match leq '<=' conceal cchar=≤
|
||||
|
@ -93,12 +93,10 @@ highlight link atsNestComment Comment
|
|||
highlight link atsNestParenComment Comment
|
||||
highlight link atsKeyword Keyword
|
||||
highlight link atsType Type
|
||||
highlight link atsIdentifier Identifier
|
||||
highlight link atsIdentifier Normal
|
||||
|
||||
hi def link atsCBlock Special
|
||||
|
||||
setlocal conceallevel=1
|
||||
|
||||
let b:current_syntax = 'ats'
|
||||
|
||||
if main_syntax ==# 'ats'
|
||||
|
|
Loading…
Reference in New Issue