+vim highlighting
This commit is contained in:
parent
c4da009b54
commit
89dc8c37f9
1
.vim/ftdetect/tbsp.vim
Normal file
1
.vim/ftdetect/tbsp.vim
Normal file
@ -0,0 +1 @@
|
|||||||
|
autocmd BufNewFile,BufRead *.tbsp set filetype=tbsp
|
16
.vim/syntax/tbsp.vim
Normal file
16
.vim/syntax/tbsp.vim
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
runtime! syntax/c.vim
|
||||||
|
unlet b:current_syntax
|
||||||
|
|
||||||
|
syn keyword tbspDirection enter leave
|
||||||
|
syn match tbspTop "%top"
|
||||||
|
syn match tbspLanaguage "%language"
|
||||||
|
syn match tbspSeparator "%%"
|
||||||
|
|
||||||
|
hi link tbspDirection Type
|
||||||
|
hi link tbspTop Statement
|
||||||
|
hi link tbspLanaguage Statement
|
||||||
|
hi link tbspSeparator Todo
|
||||||
|
|
||||||
|
syn include syntax/c.vim
|
||||||
|
|
||||||
|
let b:current = "tbsp"
|
Loading…
x
Reference in New Issue
Block a user