Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only check normal mode for existing `<Plug>IndentGuidesToggle` mapping.

  • Loading branch information...
commit 66306748d8960945342d04d41fe6131a00bbf7cb 1 parent 1cd149e
@nathanaelkane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/indent_guides.vim
View
2  plugin/indent_guides.vim
@@ -55,7 +55,7 @@ call s:InitVariable('g:indent_guides_debug', 0 )
call s:InitVariable('g:indent_guides_space_guides', 1 )
" Default mapping
-if !hasmapto('<Plug>IndentGuidesToggle') && maparg('<Leader>ig', 'n') == ''
+if !hasmapto('<Plug>IndentGuidesToggle', 'n') && maparg('<Leader>ig', 'n') == ''
nmap <silent><unique> <Leader>ig <Plug>IndentGuidesToggle
endif
Please sign in to comment.
Something went wrong with that request. Please try again.