Use full English names when explaining functions

This commit is contained in:
Caleb Maclennan 2016-05-24 16:24:20 +03:00
parent ec802fe1d3
commit 264be25aa1
No known key found for this signature in database
GPG Key ID: 63CC496475267693

View File

@ -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