Skip to content

Commit 1cd149e

Browse files
committed
Don't perform default mapping if <Leader>ig is already mapped.
1 parent c909e31 commit 1cd149e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/indent_guides.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ call s:InitVariable('g:indent_guides_debug', 0 )
5555
call s:InitVariable('g:indent_guides_space_guides', 1 )
5656

5757
" Default mapping
58-
if !hasmapto('<Plug>IndentGuidesToggle')
58+
if !hasmapto('<Plug>IndentGuidesToggle') && maparg('<Leader>ig', 'n') == ''
5959
nmap <silent><unique> <Leader>ig <Plug>IndentGuidesToggle
6060
endif
6161

0 commit comments

Comments
 (0)