2022-04-21 13:09:11 +02:00
|
|
|
if exists("b:current_syntax")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2022-05-10 14:28:36 +02:00
|
|
|
syntax keyword kfKeyword alias template layer using path name input output assume fun as import exporting module unsafe def
|
|
|
|
syntax keyword kfFunction LayerTemplate Sequence Chord Keycode Layer Broken
|
|
|
|
|
2022-04-21 13:09:11 +02:00
|
|
|
syntax match kfComment "\v--.*$"
|
|
|
|
|
|
|
|
syntax match kfOperator "\v_"
|
2022-05-10 14:28:36 +02:00
|
|
|
syntax match kfOperator "\v\,"
|
|
|
|
syntax match kfOperator "\v\."
|
2022-04-21 13:09:11 +02:00
|
|
|
syntax match kfOperator "\v\:"
|
|
|
|
syntax match kfOperator "\v\|"
|
|
|
|
syntax match kfOperator "\v\="
|
|
|
|
syntax match kfOperator "\v\=\>"
|
2022-05-10 14:28:36 +02:00
|
|
|
syntax match kfOperator "\v\-\>"
|
|
|
|
syntax match kfOperator "\v→"
|
2022-04-21 13:09:11 +02:00
|
|
|
syntax match kfOperator "\v\*"
|
|
|
|
syntax match kfOperator "\v\("
|
|
|
|
syntax match kfOperator "\v\)"
|
2022-05-10 14:28:36 +02:00
|
|
|
syntax match kfOperator "\vλ"
|
2022-04-21 13:09:11 +02:00
|
|
|
|
|
|
|
syntax region kfString start=/\v"/ skip=/\v\\./ end=/\v"/
|
|
|
|
|
|
|
|
highlight link kfKeyword Keyword
|
2022-05-10 14:28:36 +02:00
|
|
|
highlight link kfFunction Function
|
2022-04-21 13:09:11 +02:00
|
|
|
highlight link kfComment Comment
|
|
|
|
highlight link kfOperator Operator
|
|
|
|
highlight link kfString String
|
|
|
|
|
2022-09-12 13:50:02 +02:00
|
|
|
let b:current_syntax = "hkf"
|