diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-10-20 19:16:14 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-10-21 12:07:14 +0200 |
commit | df27579f54066287c3ee661f8243262a0218de76 (patch) | |
tree | 5345bb3cfd99ab32dfbdc85597a2c1d71c111b4b /src/nvim/main.c | |
parent | 1d54153ee0e08ff2df4d942b06254934c7b6af99 (diff) | |
download | rneovim-df27579f54066287c3ee661f8243262a0218de76.tar.gz rneovim-df27579f54066287c3ee661f8243262a0218de76.tar.bz2 rneovim-df27579f54066287c3ee661f8243262a0218de76.zip |
vim-patch:8.1.2388: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/4ba37b5833de99db9e9afe8928b31c864182405c
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 00a43c9c79..4b4ab687b2 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1461,9 +1461,9 @@ static void create_windows(mparm_T *parmp) did_emsg = FALSE; // avoid hit-enter prompt getout(1); } - /* We can't close the window, it would disturb what - * happens next. Clear the file name and set the arg - * index to -1 to delete it later. */ + // We can't close the window, it would disturb what + // happens next. Clear the file name and set the arg + // index to -1 to delete it later. setfname(curbuf, NULL, NULL, false); curwin->w_arg_idx = -1; swap_exists_action = SEA_NONE; @@ -1553,8 +1553,8 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd) // happen when vimrc contains ":sall"). if (curbuf == firstwin->w_buffer || curbuf->b_ffname == NULL) { curwin->w_arg_idx = arg_idx; - /* Edit file from arg list, if there is one. When "Quit" selected - * at the ATTENTION prompt close the window. */ + // Edit file from arg list, if there is one. When "Quit" selected + // at the ATTENTION prompt close the window. swap_exists_did_quit = false; (void)do_ecmd(0, arg_idx < GARGCOUNT ? alist_name(&GARGLIST[arg_idx]) : NULL, |