aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-01-04 18:45:10 +0300
committerZyX <kp-pav@yandex.ru>2018-03-26 00:38:29 +0300
commit607e0d2202053a2db290f00d99364f4895917f39 (patch)
tree87b88c8ae82d0783670605e73b48f66fd96ff87f /src/nvim/quickfix.c
parenta9c94f7bb05c53b1c81ec7e65f5df86947c12c58 (diff)
downloadrneovim-607e0d2202053a2db290f00d99364f4895917f39.tar.gz
rneovim-607e0d2202053a2db290f00d99364f4895917f39.tar.bz2
rneovim-607e0d2202053a2db290f00d99364f4895917f39.zip
shada: Save numbered marks
Problems so far: - Marks in the current instance are not adjusted. - Duplicates are not removed (not that it works in Vim either now, not at 8.0.134 at least).
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 2d8c353f92..46124e0672 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -3029,7 +3029,7 @@ static void qf_fill_buffer(qf_info_T *qi, buf_T *buf, qfline_T *old_last)
/*
* Return TRUE if "buf" is the quickfix buffer.
*/
-int bt_quickfix(buf_T *buf)
+int bt_quickfix(const buf_T *const buf)
{
return buf != NULL && buf->b_p_bt[0] == 'q';
}