hi
This commit is contained in:
@@ -6,6 +6,7 @@ syntax keyword hellKeyword import func
|
||||
syntax keyword hellKeyword if then else while for switch case
|
||||
syntax keyword hellKeyword writeln
|
||||
syntax keyword hellType int str float void double bool
|
||||
syntax keyword hellType integer decimal character large_decimal CLion
|
||||
syntax keyword hellGlobalContainer hell
|
||||
|
||||
highlight link hellKeyword Keyword
|
||||
|
||||
@@ -4,14 +4,22 @@ endif
|
||||
|
||||
syntax keyword pcdKeyword func
|
||||
syntax keyword pcdKeyword if then else while for switch case and
|
||||
syntax keyword pcdKeyword break until end default return exec do in
|
||||
syntax keyword pcdKeyword print break fetch exclude def from as alloc unalloc using catch
|
||||
syntax keyword pcdKeyword pcode start stop
|
||||
syntax keyword pcdKeyword int vd chr str stat flt db tab const long
|
||||
syntax keyword pcdKeyword break until end default return do in
|
||||
syntax keyword pcdKeyword break fetch exclude def from as alloc unalloc using catch vect_create vect_destroy vect_size args args3 proc io arr class
|
||||
syntax keyword pcdFunction pcode start stop size_short size_long init populate_db throw err fork print exec size
|
||||
syntax keyword pcdKeyword stat const usign
|
||||
syntax keyword pcdKeyword i64 i32 i16 i8 ui64 ui32 ui16 ui8 v0 f64 f32 f16 f8
|
||||
syntax keyword pcdKeyword global local
|
||||
syntax keyword pcdKeyword true false
|
||||
|
||||
syntax keyword pcdType int vd chr short sshort str flt db tab long vector
|
||||
syntax keyword pcdType i64 i32 i16 i8 ui64 ui32 ui16 ui8 v0 f64 f32 f16 f8
|
||||
syntax keyword pcdType ctx
|
||||
|
||||
syntax keyword pcdKeyword pcdver
|
||||
|
||||
highlight link pcdType Type
|
||||
|
||||
highlight link pcdKeyword Keyword
|
||||
highlight link pcdFunction Function
|
||||
|
||||
@@ -26,6 +34,7 @@ syntax match pcdOperator "\v/\="
|
||||
syntax match pcdOperator "\v\+\="
|
||||
syntax match pcdOperator "\v-\="
|
||||
syntax match pcdOperator "\v\!\="
|
||||
syntax keyword pcdOperator NULL
|
||||
|
||||
highlight link pcdOperator Operator
|
||||
|
||||
|
||||
@@ -2,36 +2,47 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword phKeyword func
|
||||
syntax keyword phKeyword if then else while for switch case
|
||||
syntax keyword phKeyword break until end default return exec
|
||||
syntax keyword phKeyword print break fetch def from alloc unalloc
|
||||
syntax keyword phKeyword head start stop
|
||||
syntax keyword phKeyword int chr vd stat flt db tab
|
||||
syntax keyword pcdKeyword func
|
||||
syntax keyword pcdKeyword if then else while for switch case and
|
||||
syntax keyword pcdKeyword break until end default return do in
|
||||
syntax keyword pcdKeyword break fetch exclude def from as alloc unalloc using catch vect_create vect_destroy vect_size args args3 proc io arr class
|
||||
syntax keyword pcdFunction pcode start stop size_short size_long init populate_db throw err fork print exec size
|
||||
syntax keyword pcdKeyword stat const usign
|
||||
syntax keyword pcdKeyword i64 i32 i16 i8 ui64 ui32 ui16 ui8 v0 f64 f32 f16 f8
|
||||
syntax keyword pcdKeyword global local
|
||||
syntax keyword pcdKeyword true false
|
||||
|
||||
syntax keyword phKeyword phver
|
||||
syntax keyword pcdType int vd chr short sshort str flt db tab long vector
|
||||
syntax keyword pcdType i64 i32 i16 i8 ui64 ui32 ui16 ui8 v0 f64 f32 f16 f8
|
||||
syntax keyword pcdType ctx
|
||||
|
||||
highlight link phKeyword Keyword
|
||||
highlight link phFunction Function
|
||||
syntax keyword pcdKeyword pcdver
|
||||
|
||||
syntax match phOperator "\v\="
|
||||
syntax match phOperator "\v\*"
|
||||
syntax match phOperator "\v/"
|
||||
syntax match phOperator "\v\+"
|
||||
syntax match phOperator "\v-"
|
||||
syntax match phOperator "\v\?"
|
||||
syntax match phOperator "\v\*\="
|
||||
syntax match phOperator "\v/\="
|
||||
syntax match phOperator "\v\+\="
|
||||
syntax match phOperator "\v-\="
|
||||
highlight link pcdType Type
|
||||
|
||||
highlight link phOperator Operator
|
||||
highlight link pcdKeyword Keyword
|
||||
highlight link pcdFunction Function
|
||||
|
||||
syntax region phString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region phString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link phString String
|
||||
syntax match pcdOperator "\v\="
|
||||
syntax match pcdOperator "\v\*"
|
||||
syntax match pcdOperator "\v/"
|
||||
syntax match pcdOperator "\v\+"
|
||||
syntax match pcdOperator "\v-"
|
||||
syntax match pcdOperator "\v\?"
|
||||
syntax match pcdOperator "\v\*\="
|
||||
syntax match pcdOperator "\v/\="
|
||||
syntax match pcdOperator "\v\+\="
|
||||
syntax match pcdOperator "\v-\="
|
||||
syntax match pcdOperator "\v\!\="
|
||||
syntax keyword pcdOperator NULL
|
||||
|
||||
syntax match phComment "\v//.*$"
|
||||
highlight link phComment Comment
|
||||
highlight link pcdOperator Operator
|
||||
|
||||
let b:current_syntax = "ph"
|
||||
syntax region pcdString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region pcdString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link pcdString String
|
||||
|
||||
syntax match pcdComment "\v//.*$"
|
||||
highlight link pcdComment Comment
|
||||
|
||||
let b:current_syntax = "pcd"
|
||||
|
||||
Reference in New Issue
Block a user