Check that the BreakPoint highlight style doesn't exist before redfining it

This commit is contained in:
IdanArye 2015-04-11 17:59:02 +03:00
parent d0553765d6
commit df8e4ddbc9

View File

@ -235,7 +235,9 @@ function! s:standardCloseHandlers.removeCurrentMarker(debugger) dict
sign unplace 1
endfunction
highlight BreakPoint term=reverse cterm=reverse gui=reverse
if !hlexists('BreakPoint')
highlight BreakPoint term=reverse cterm=reverse gui=reverse
endif
sign define vebugger_current text=->
sign define vebugger_breakpoint text=** linehl=BreakPoint