mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-02 21:51:45 +08:00
Use full English names when explaining functions
This commit is contained in:
parent
ec802fe1d3
commit
264be25aa1
|
@ -815,7 +815,7 @@ function s:CommentLinesMinimal(firstLine, lastLine)
|
||||||
let sexyNested = s:SexyNested()
|
let sexyNested = s:SexyNested()
|
||||||
|
|
||||||
"if we need to use place holders for the comment, make sure they are
|
"if we need to use place holders for the comment, make sure they are
|
||||||
"enabled for this filetype, or the delims allow nesting
|
"enabled for this filetype, or the delimiterss allow nesting
|
||||||
if !g:NERDUsePlaceHolders && !sexyNested && s:DoesBlockHaveMultipartDelim(a:firstLine, a:lastLine)
|
if !g:NERDUsePlaceHolders && !sexyNested && s:DoesBlockHaveMultipartDelim(a:firstLine, a:lastLine)
|
||||||
throw 'NERDCommenter.Settings exception: Place holders are required but disabled.'
|
throw 'NERDCommenter.Settings exception: Place holders are required but disabled.'
|
||||||
endif
|
endif
|
||||||
|
@ -1693,7 +1693,7 @@ function s:AltMultipart()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Function: s:AltNested() {{{2
|
" Function: s:AltNested() {{{2
|
||||||
" returns 1 if the alternate multipart (if any) delims allow nesting
|
" returns 1 if the alternate multipart (if any) delimiters allow nesting
|
||||||
function s:AltNested()
|
function s:AltNested()
|
||||||
return b:NERDCommenterDelims['nestedAlt']
|
return b:NERDCommenterDelims['nestedAlt']
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -2629,7 +2629,7 @@ function s:NerdEcho(msg, typeOfMsg)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Function: s:Nested() {{{2
|
" Function: s:Nested() {{{2
|
||||||
" returns 1 if the current multipart (if any) delims allow nesting
|
" returns 1 if the current multipart (if any) delimiters allow nesting
|
||||||
function s:Nested()
|
function s:Nested()
|
||||||
return b:NERDCommenterDelims['nested']
|
return b:NERDCommenterDelims['nested']
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user