mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:8.1.0461: quickfix: change comment style #11453
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
00bf8cd211
This commit is contained in:

committed by
Justin M. Keyes

parent
f460bae441
commit
8819b5c06e
@@ -540,7 +540,7 @@ void ml_open_file(buf_T *buf)
|
||||
/// file, or reading into an existing buffer, create a swap file now.
|
||||
///
|
||||
/// @param newfile reading file into new buffer
|
||||
void check_need_swap(int newfile)
|
||||
void check_need_swap(bool newfile)
|
||||
{
|
||||
int old_msg_silent = msg_silent; // might be reset by an E325 message
|
||||
msg_silent = 0; // If swap dialog prompts for input, user needs to see it!
|
||||
@@ -937,8 +937,9 @@ void ml_recover(bool checkext)
|
||||
*/
|
||||
if (directly) {
|
||||
expand_env(b0p->b0_fname, NameBuff, MAXPATHL);
|
||||
if (setfname(curbuf, NameBuff, NULL, TRUE) == FAIL)
|
||||
if (setfname(curbuf, NameBuff, NULL, true) == FAIL) {
|
||||
goto theend;
|
||||
}
|
||||
}
|
||||
|
||||
home_replace(NULL, mfp->mf_fname, NameBuff, MAXPATHL, TRUE);
|
||||
|
Reference in New Issue
Block a user