aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/space_vlaze/colors.vim8
-rw-r--r--autoload/space_vlaze/life.vim2
2 files changed, 9 insertions, 1 deletions
diff --git a/autoload/space_vlaze/colors.vim b/autoload/space_vlaze/colors.vim
index f10901b..1d06dc0 100644
--- a/autoload/space_vlaze/colors.vim
+++ b/autoload/space_vlaze/colors.vim
@@ -1,3 +1,11 @@
function! space_vlaze#colors#Initialize()
+ syntax match Enemy '♤'
+ syntax match Player '◆'
+ syntax match Lives /^|.*/
+ syntax match Score /^Score: .\+/
+ highlight Enemy ctermfg=136 ctermbg=NONE
+ highlight Player ctermfg=200 ctermbg=NONE
+ highlight Lives ctermfg=255 ctermbg=89
+ highlight Score ctermfg=255 ctermbg=92
endfunction
diff --git a/autoload/space_vlaze/life.vim b/autoload/space_vlaze/life.vim
index a66529d..1bb9dac 100644
--- a/autoload/space_vlaze/life.vim
+++ b/autoload/space_vlaze/life.vim
@@ -19,7 +19,7 @@ endfunction
function! space_vlaze#life#RenderLives()
let lives_line = space_vlaze#game#BoardHeight() + 1
- let lives_display = ''
+ let lives_display = '|'
let i = 0
while i < s:lives