2024-04-17 20:34:01 +02:00
|
|
|
if exists("b:current_syntax")
|
|
|
|
finish
|
|
|
|
endif
|
2024-02-22 01:07:41 +01:00
|
|
|
|
|
|
|
set iskeyword+=-
|
|
|
|
|
2024-02-22 13:11:07 +01:00
|
|
|
syntax keyword lensKeyword physical section layergroup layer chordgroup block end
|
2024-02-22 01:07:41 +01:00
|
|
|
syntax keyword lensAction sticky-switch switch
|
2024-04-17 20:34:01 +02:00
|
|
|
syntax keyword lensFunction columns place action key after before
|
2024-02-22 01:07:41 +01:00
|
|
|
syntax keyword lensLayerName center topleft topright bottomleft bottomright
|
|
|
|
|
|
|
|
syntax match lensComment "\v--.*$"
|
|
|
|
syntax match lensOperator "\v\=\>"
|
|
|
|
syntax match lensHexColor "#[0-9a-fA-F]\{6\}"
|
|
|
|
|
|
|
|
highlight link lensAction Identifier
|
|
|
|
highlight link lensKeyword Keyword
|
|
|
|
highlight link lensLayerName Constant
|
|
|
|
highlight link lensComment Comment
|
|
|
|
highlight link lensOperator Operator
|
|
|
|
highlight link lensHexColor String
|
|
|
|
highlight link lensFunction Function
|
|
|
|
|
2024-04-17 20:34:01 +02:00
|
|
|
let b:current_syntax = "lens"
|