vim: update type and attribute prefixes
This commit is contained in:
@@ -31,7 +31,8 @@ syn match mieBuiltinType /\<ptr\>/
|
|||||||
syn match mieBuiltinType /\<index\>/
|
syn match mieBuiltinType /\<index\>/
|
||||||
syn match mieBuiltinType "\<[if][0-9]\>"
|
syn match mieBuiltinType "\<[if][0-9]\>"
|
||||||
syn match mieBuiltinType "\<[if][1-9][0-9]\+\>"
|
syn match mieBuiltinType "\<[if][1-9][0-9]\+\>"
|
||||||
syn match mieDialectType /#[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+/
|
syn match mieDialectType /![A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+/
|
||||||
|
syn match mieDialectAttribute /#[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+/
|
||||||
|
|
||||||
syn match mieInstruction /\*[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+\([>\*]\)\@!\>/
|
syn match mieInstruction /\*[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+\([>\*]\)\@!\>/
|
||||||
syn match mieGenericOperation /\~[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+\([>\*]\)\@!\>/
|
syn match mieGenericOperation /\~[A-Za-z][A-Za-z0-9\-]*\(\.[A-Za-z][A-Za-z0-9\-]*\)\+\([>\*]\)\@!\>/
|
||||||
@@ -77,6 +78,7 @@ hi def link mieBrackets Delimiter
|
|||||||
hi def link mieAngleBrackets StorageClass
|
hi def link mieAngleBrackets StorageClass
|
||||||
|
|
||||||
hi def link mieDialectType Type
|
hi def link mieDialectType Type
|
||||||
|
hi def link mieDialectAttribute @attribute
|
||||||
|
|
||||||
hi def link mieGenericOperation @function.builtin
|
hi def link mieGenericOperation @function.builtin
|
||||||
hi def link mieGraphOperation Statement
|
hi def link mieGraphOperation Statement
|
||||||
|
|||||||
Reference in New Issue
Block a user