aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-24 23:10:25 -0500
committerJustin M. Keyes <justinkz@gmail.com>2019-11-24 20:10:25 -0800
commit8819b5c06eea1f47d6a8f2c00498e55a580d5519 (patch)
treeefc03698ae2d34f8c47d676655e05fd5847b31e1 /src/nvim/fileio.c
parentf460bae441b2a35964c3535396e251c33c997395 (diff)
downloadrneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.tar.gz
rneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.tar.bz2
rneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.zip
vim-patch:8.1.0461: quickfix: change comment style #11453
Problem: Quickfix code uses too many /* */ comments. Solution: Change to // comments. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index fcf15638c7..f518e59acc 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -3731,8 +3731,9 @@ static int set_rw_fname(char_u *fname, char_u *sfname)
return FAIL;
}
- if (setfname(curbuf, fname, sfname, FALSE) == OK)
+ if (setfname(curbuf, fname, sfname, false) == OK) {
curbuf->b_flags |= BF_NOTEDITED;
+ }
/* ....and a new named one is created */
apply_autocmds(EVENT_BUFNEW, NULL, NULL, FALSE, curbuf);