mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:10:06 +08:00
Add runner syntax file
This commit is contained in:
parent
cae4fd9c00
commit
ff9837c073
14
syntax/SpaceVimRunner.vim
Normal file
14
syntax/SpaceVimRunner.vim
Normal file
@ -0,0 +1,14 @@
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
let b:current_syntax = "SpaceVimRunner"
|
||||
syntax case ignore
|
||||
syn match RunnerCmd /\(\[Running\]\ \)\@<=.*/
|
||||
syn match KeyBindings /\[Running\]/
|
||||
syn match DoneSucceeded /\[Done]\(\ exited\ with\ code=0\)\@=/
|
||||
syn match DoneFailed /\[Done]\(\ exited\ with\ code=[^0]\)\@=/
|
||||
|
||||
hi def link RunnerCmd Comment
|
||||
hi def link KeyBindings String
|
||||
hi def link DoneSucceeded String
|
||||
hi def link DoneFailed WarningMsg
|
Loading…
Reference in New Issue
Block a user