diff --git a/autoload/vebugger/std.vim b/autoload/vebugger/std.vim index 284bb7a..5d8c8c6 100644 --- a/autoload/vebugger/std.vim +++ b/autoload/vebugger/std.vim @@ -300,7 +300,12 @@ function! s:standardCloseHandlers.removeCurrentMarker(debugger) dict sign unplace 1 endfunction -sign define vebugger_current text=-> + +if hlexists("DebuggedLine") + sign define vebugger_current linehl=DebuggedLine +else + sign define vebugger_current text=-> +endif if hlexists('BreakPoint') sign define vebugger_breakpoint text=** linehl=BreakPoint texthl=BreakPoint