mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-11 19:23:47 -05:00
refactored a variable name
This commit is contained in:
@@ -1440,7 +1440,7 @@ endfunction
|
|||||||
" 'nested', 'toEOL', 'prepend', 'append', 'insert', 'uncomment', 'yank'
|
" 'nested', 'toEOL', 'prepend', 'append', 'insert', 'uncomment', 'yank'
|
||||||
function! NERDComment(isVisual, type) range
|
function! NERDComment(isVisual, type) range
|
||||||
" we want case sensitivity when commenting
|
" we want case sensitivity when commenting
|
||||||
let prevIgnoreCase = &ignorecase
|
let oldIgnoreCase = &ignorecase
|
||||||
set noignorecase
|
set noignorecase
|
||||||
|
|
||||||
if a:isVisual
|
if a:isVisual
|
||||||
@@ -1529,7 +1529,7 @@ function! NERDComment(isVisual, type) range
|
|||||||
execute firstLine .','. lastLine .'call NERDComment('. a:isVisual .', "norm")'
|
execute firstLine .','. lastLine .'call NERDComment('. a:isVisual .', "norm")'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let &ignorecase = prevIgnoreCase
|
let &ignorecase = oldIgnoreCase
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Function: s:PlaceDelimitersAndInsBetween() function {{{2
|
" Function: s:PlaceDelimitersAndInsBetween() function {{{2
|
||||||
|
|||||||
Reference in New Issue
Block a user