Actually add the files.

This commit is contained in:
bʰedoh₂ swé 2024-07-27 19:55:15 +05:00
parent 2e28a84f08
commit dbacf65ebf
2 changed files with 18 additions and 0 deletions

1
ftdetect/labashki.vim Normal file
View File

@ -0,0 +1 @@
autocmd BufRead,BufNewFile *.lb set filetype=labashki

17
syntax/labashki.vim Normal file
View 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"