1
Fork 0

Prepare idea for purescript rewrite

This commit is contained in:
prescientmoon 2024-02-22 01:07:41 +01:00
parent 2777e02b06
commit 6ce0a3930b
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
6 changed files with 698 additions and 597 deletions
layout-lens/vim/syntax

View file

@ -0,0 +1,24 @@
" if exists("b:current_syntax")
" finish
" endif
set iskeyword+=-
syntax keyword lensKeyword physical section keyboard layer chordgroup block
syntax keyword lensAction sticky-switch switch
syntax keyword lensFunction columns place action
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
let b:current_syntax = "lens"