From dbacf65ebf2d49cbaaf8c3d3645bcd822d4b2c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sat, 27 Jul 2024 19:55:15 +0500 Subject: [PATCH] Actually add the files. --- ftdetect/labashki.vim | 1 + syntax/labashki.vim | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 ftdetect/labashki.vim create mode 100644 syntax/labashki.vim diff --git a/ftdetect/labashki.vim b/ftdetect/labashki.vim new file mode 100644 index 0000000..f0c5bea --- /dev/null +++ b/ftdetect/labashki.vim @@ -0,0 +1 @@ +autocmd BufRead,BufNewFile *.lb set filetype=labashki diff --git a/syntax/labashki.vim b/syntax/labashki.vim new file mode 100644 index 0000000..9988433 --- /dev/null +++ b/syntax/labashki.vim @@ -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"