Skip to content

Commit e0224b4

Browse files
authored
Merge pull request #2690 from bhcleek/config/rename-go_debug_breakpoint_symbol
rename g:go_debug_breakpoint_symbol
2 parents bd2e839 + 7bb3bec commit e0224b4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

autoload/go/config.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ function! go#config#HighlightDebug() abort
489489
return get(g:, 'go_highlight_debug', 1)
490490
endfunction
491491

492-
function! go#config#DebugBreakpointSymbol() abort
493-
return get(g:, 'go_debug_breakpoint_symbol', '>')
492+
function! go#config#DebugBreakpointSignText() abort
493+
return get(g:, 'go_debug_breakpoint_sign_text', '>')
494494
endfunction
495495

496496
function! go#config#FoldEnable(...) abort

autoload/go/debug.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ function! s:list_breakpoints()
11161116
return l:signs
11171117
endfunction
11181118

1119-
exe 'sign define godebugbreakpoint text='.go#config#DebugBreakpointSymbol().' texthl=GoDebugBreakpoint'
1119+
exe 'sign define godebugbreakpoint text='.go#config#DebugBreakpointSignText().' texthl=GoDebugBreakpoint'
11201120
sign define godebugcurline text== texthl=GoDebugCurrent linehl=GoDebugCurrent
11211121

11221122
" restore Vi compatibility settings

doc/vim-go.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,12 +2333,12 @@ Highlight the current line and breakpoints in the debugger.
23332333
let g:go_highlight_debug = 1
23342334
<
23352335

2336-
*'go:go_debug_breakpoint_symbol'*
2336+
*'go:go_debug_breakpoint_sign_text'*
23372337

2338-
Set the symbol used for breakpints in the debugger. By default it's '>'.
2338+
Set the sign text used for breakpoints in the debugger. By default it's '>'.
23392339

23402340
>
2341-
let g:go_debug_breakpoint_symbol = '>'
2341+
let g:go_debug_breakpoint_sign_text = '>'
23422342
<
23432343

23442344
==============================================================================

0 commit comments

Comments
 (0)