4/26
This commit is contained in:
17
syntax/emk.vim
Normal file
17
syntax/emk.vim
Normal file
@@ -0,0 +1,17 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword emkKeyword declare function include
|
||||
|
||||
highlight link emkKeyword Keyword
|
||||
highlight link emkFunction Function
|
||||
|
||||
syntax region emkString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region emkString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link emkString String
|
||||
|
||||
syntax match emkComment "\v//.*$"
|
||||
highlight link emkComment Comment
|
||||
|
||||
let b:current_syntax = "emk"
|
||||
33
syntax/emkfile.vim
Normal file
33
syntax/emkfile.vim
Normal file
@@ -0,0 +1,33 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword emkfileKeyword declare function include
|
||||
syntax keyword emkfileKeyword if then else while for do
|
||||
syntax keyword emkfileKeyword echo
|
||||
|
||||
highlight link emkfileKeyword Keyword
|
||||
highlight link emkfileFunction Function
|
||||
|
||||
syntax match emkfileOperator "\v\="
|
||||
syntax match emkfileOperator "\v\*"
|
||||
syntax match emkfileOperator "\v/"
|
||||
syntax match emkfileOperator "\v\+"
|
||||
syntax match emkfileOperator "\v-"
|
||||
syntax match emkfileOperator "\v\?"
|
||||
syntax match emkfileOperator "\v\*\="
|
||||
syntax match emkfileOperator "\v/\="
|
||||
syntax match emkfileOperator "\v\+\="
|
||||
syntax match emkfileOperator "\v-\="
|
||||
syntax match emkfileOperator "\v\!\="
|
||||
|
||||
highlight link emkfileOperator Operator
|
||||
|
||||
syntax region emkfileString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region emkfileString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link emkfileString String
|
||||
|
||||
syntax match emkfileComment "\v//.*$"
|
||||
highlight link emkfileComment Comment
|
||||
|
||||
let b:current_syntax = "emkfile"
|
||||
49
syntax/hell.vim
Normal file
49
syntax/hell.vim
Normal file
@@ -0,0 +1,49 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
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 hellGlobalContainer hell
|
||||
|
||||
highlight link hellKeyword Keyword
|
||||
highlight link hellFunction Function
|
||||
highlight link hellType Type
|
||||
highlight link hellGlobalContainer Structure
|
||||
|
||||
syntax match hellOperator "\v\="
|
||||
syntax match hellOperator "\v\*"
|
||||
syntax match hellOperator "\v/"
|
||||
syntax match hellOperator "\v\+"
|
||||
syntax match hellOperator "\v-"
|
||||
syntax match hellOperator "\v\?"
|
||||
syntax match hellOperator "\v\*\="
|
||||
syntax match hellOperator "\v/\="
|
||||
syntax match hellOperator "\v\+\="
|
||||
syntax match hellOperator "\v-\="
|
||||
syntax match hellOperator "\v\!\="
|
||||
|
||||
syntax match hellNumber "0"
|
||||
syntax match hellNumber "1"
|
||||
syntax match hellNumber "2"
|
||||
syntax match hellNumber "3"
|
||||
syntax match hellNumber "4"
|
||||
syntax match hellNumber "5"
|
||||
syntax match hellNumber "6"
|
||||
syntax match hellNumber "7"
|
||||
syntax match hellNumber "8"
|
||||
syntax match hellNumber "9"
|
||||
|
||||
highlight link hellOperator Operator
|
||||
highlight link hellNumber Constant
|
||||
|
||||
syntax region hellString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region hellString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link hellString String
|
||||
|
||||
syntax match hellComment "\v//.*$"
|
||||
highlight link hellComment Comment
|
||||
|
||||
let b:current_syntax = "hell"
|
||||
39
syntax/pcd.vim
Normal file
39
syntax/pcd.vim
Normal file
@@ -0,0 +1,39 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
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 global local
|
||||
|
||||
syntax keyword pcdKeyword pcdver
|
||||
|
||||
highlight link pcdKeyword Keyword
|
||||
highlight link pcdFunction Function
|
||||
|
||||
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\!\="
|
||||
|
||||
highlight link pcdOperator Operator
|
||||
|
||||
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"
|
||||
37
syntax/ph.vim
Normal file
37
syntax/ph.vim
Normal file
@@ -0,0 +1,37 @@
|
||||
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 phKeyword phver
|
||||
|
||||
highlight link phKeyword Keyword
|
||||
highlight link phFunction Function
|
||||
|
||||
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 phOperator Operator
|
||||
|
||||
syntax region phString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region phString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link phString String
|
||||
|
||||
syntax match phComment "\v//.*$"
|
||||
highlight link phComment Comment
|
||||
|
||||
let b:current_syntax = "ph"
|
||||
38
syntax/xmk.vim
Normal file
38
syntax/xmk.vim
Normal file
@@ -0,0 +1,38 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword xmkKeyword DECLARE FUNCTION INCLUDE
|
||||
syntax keyword xmkKeyword if then else while for switch case and
|
||||
syntax keyword xmkKeyword break until end default return exec do in
|
||||
syntax keyword xmkKeyword print break fetch exclude def from alloc unalloc using
|
||||
syntax keyword xmkKeyword pcode start stop
|
||||
syntax keyword xmkKeyword int vd chr str stat flt db tab const
|
||||
|
||||
syntax keyword xmkKeyword xmkver
|
||||
|
||||
highlight link xmkKeyword Keyword
|
||||
highlight link xmkFunction Function
|
||||
|
||||
syntax match xmkOperator "\v\="
|
||||
syntax match xmkOperator "\v\*"
|
||||
syntax match xmkOperator "\v/"
|
||||
syntax match xmkOperator "\v\+"
|
||||
syntax match xmkOperator "\v-"
|
||||
syntax match xmkOperator "\v\?"
|
||||
syntax match xmkOperator "\v\*\="
|
||||
syntax match xmkOperator "\v/\="
|
||||
syntax match xmkOperator "\v\+\="
|
||||
syntax match xmkOperator "\v-\="
|
||||
syntax match xmkOperator "\v\!\="
|
||||
|
||||
highlight link xmkOperator Operator
|
||||
|
||||
syntax region xmkString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region xmkString start=/\v'/ skip=/\v\\./ end=/\v'/
|
||||
highlight link xmkString String
|
||||
|
||||
syntax match xmkComment "\v//.*$"
|
||||
highlight link xmkComment Comment
|
||||
|
||||
let b:current_syntax = "xmk"
|
||||
Reference in New Issue
Block a user