From 5fedcab0097c8e1f6862112893f7312267427583 Mon Sep 17 00:00:00 2001 From: Dalton Barreto Date: Tue, 17 Oct 2017 16:28:20 -0200 Subject: [PATCH] Highlight current debugged line with DebuggedLine If the `DebuggedLine` highlight-group exist, highlight the current debugged line with it. --- autoload/vebugger/std.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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