diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-24 23:10:25 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-11-24 20:10:25 -0800 |
commit | 8819b5c06eea1f47d6a8f2c00498e55a580d5519 (patch) | |
tree | efc03698ae2d34f8c47d676655e05fd5847b31e1 /src/nvim/buffer.c | |
parent | f460bae441b2a35964c3535396e251c33c997395 (diff) | |
download | rneovim-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/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 0cd02ce36b..544f3a9bb4 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -411,11 +411,11 @@ bool buf_valid(buf_T *buf) /// caller should get a new buffer very soon! /// The 'bufhidden' option can force freeing and deleting. /// @param abort_if_last -/// If TRUE, do not close the buffer if autocommands cause +/// If true, do not close the buffer if autocommands cause /// there to be only one window with this buffer. e.g. when /// ":quit" is supposed to close the window but autocommands /// close all other windows. -void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last) +void close_buffer(win_T *win, buf_T *buf, int action, bool abort_if_last) { bool unload_buf = (action != 0); bool del_buf = (action == DOBUF_DEL || action == DOBUF_WIPE); @@ -2694,7 +2694,7 @@ setfname( buf_T *buf, char_u *ffname, char_u *sfname, - int message // give message when buffer already exists + bool message // give message when buffer already exists ) { buf_T *obuf = NULL; |