Prepare idea for purescript rewrite
This commit is contained in:
parent
2777e02b06
commit
6ce0a3930b
6 changed files with 698 additions and 597 deletions
layout-lens/vim/syntax
24
layout-lens/vim/syntax/lens.vim
Normal file
24
layout-lens/vim/syntax/lens.vim
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue