Actually add the files.
This commit is contained in:
parent
2e28a84f08
commit
dbacf65ebf
1
ftdetect/labashki.vim
Normal file
1
ftdetect/labashki.vim
Normal file
@ -0,0 +1 @@
|
||||
autocmd BufRead,BufNewFile *.lb set filetype=labashki
|
17
syntax/labashki.vim
Normal file
17
syntax/labashki.vim
Normal file
@ -0,0 +1,17 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" syntax keyword Label args
|
||||
syntax match Number /[ \r\n\t\f\v\-]*\d*[ \r\n\t\f\v$]*/
|
||||
syntax match Type /|/
|
||||
syntax match Type /\//
|
||||
syntax match Label /@ [0-9][^;]*$/
|
||||
syntax match String /#[a-z]* \S*/
|
||||
syntax match String /$[a-z]* .*$/
|
||||
syntax keyword lDebug dump
|
||||
syntax match Comment /;.*$/
|
||||
|
||||
highlight lDebug ctermfg=red
|
||||
|
||||
let b:current_syntax = "labashki"
|
Loading…
Reference in New Issue
Block a user