vim-patch:8.1.2402: typos and other small things

Problem:    Typos and other small things.
Solution:   Small fixes.
f48ee3c284
This commit is contained in:
Jan Edmund Lazo 2019-12-06 20:45:17 -05:00
parent 30ed245d00
commit 7d8f32338f
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ compile_commands.json
/tmp/
/.clangd/
.DS_Store
*.mo
.*.sw?
*~

View File

@ -1378,7 +1378,7 @@ static void msg_home_replace_attr(char_u *fname, int attr)
/*
* Output 'len' characters in 'str' (including NULs) with translation
* if 'len' is -1, output upto a NUL character.
* if 'len' is -1, output up to a NUL character.
* Use attributes 'attr'.
* Return the number of characters it takes on the screen.
*/
@ -1501,7 +1501,7 @@ void msg_make(char_u *arg)
}
}
/// Output the string 'str' upto a NUL character.
/// Output the string 'str' up to a NUL character.
/// Return the number of characters it takes on the screen.
///
/// If K_SPECIAL is encountered, then it is taken in conjunction with the

View File

@ -314,6 +314,9 @@ func RunVimPiped(before, after, arguments, pipecmd)
let args .= ' -S Xafter.vim'
endif
" Optionally run Vim under valgrind
" let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd
exe "silent !" . a:pipecmd . cmd . args . ' ' . a:arguments
if len(a:before) > 0

View File

@ -178,7 +178,7 @@ endif
" next Xpath value. No new Xnext value is prepared. The argument
" should be 2^(n-1) for the nth Xloop command inside the loop.
" If the loop has only one Xloop command, the argument can be
" ommitted (default: 1).
" omitted (default: 1).
"
" - Use XloopNEXT before ":continue" and ":endwhile". This computes a new
" Xnext value for the next execution of the loop by multiplying the old