Skip to content

Commit 6630674

Browse files
committed
Only check normal mode for existing <Plug>IndentGuidesToggle mapping.
1 parent 1cd149e commit 6630674

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') && maparg('<Leader>ig', 'n') == ''
58+
if !hasmapto('<Plug>IndentGuidesToggle', 'n') && maparg('<Leader>ig', 'n') == ''
5959
nmap <silent><unique> <Leader>ig <Plug>IndentGuidesToggle
6060
endif
6161

0 commit comments

Comments
 (0)