mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-13 12:13:47 -05:00
Make mappings repeatable with . through repeat.vim
Use of repeat.vim is purely optional, but very beneficial for typical commenting uses.
This commit is contained in:
@@ -1128,6 +1128,8 @@ function! NERDComment(mode, type) range
|
||||
endif
|
||||
|
||||
let &ignorecase = oldIgnoreCase
|
||||
|
||||
silent! call repeat#set("\<Plug>NERDCommenter". a:type)
|
||||
endfunction
|
||||
|
||||
" Function: s:PlaceDelimitersAndInsBetween() function {{{2
|
||||
|
||||
Reference in New Issue
Block a user