labashki-vim-syntax/syntax/labashki.vim

18 lines
399 B
VimL
Raw Permalink Normal View History

2024-07-27 14:55:15 +00:00
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"