aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-12-12 15:05:20 -0500
committerJames McCoy <jamessan@jamessan.com>2016-12-27 14:10:26 -0500
commitab43303df7f09d1789a70e2536552461657f08ac (patch)
tree3fdcc0018f1abc17dd29e6786eb70147776255cc /src/nvim/buffer_defs.h
parenta86d8b4088d21b784c1b72a03db9c22dcae67d00 (diff)
downloadrneovim-ab43303df7f09d1789a70e2536552461657f08ac.tar.gz
rneovim-ab43303df7f09d1789a70e2536552461657f08ac.tar.bz2
rneovim-ab43303df7f09d1789a70e2536552461657f08ac.zip
vim-patch:7.4.1884
Problem: Updating marks in a quickfix list is very slow when the list is long. Solution: Only update marks if the buffer has a quickfix entry. https://github.com/vim/vim/commit/2f095a4bc4d786e0ac834f48dd18a94fe2d140e3
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 2f0e8ad974..da08357cb0 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -609,6 +609,7 @@ struct file_buffer {
int b_p_bomb; ///< 'bomb'
char_u *b_p_bh; ///< 'bufhidden'
char_u *b_p_bt; ///< 'buftype'
+ bool b_has_qf_entry; ///< quickfix exists for buffer
int b_p_bl; ///< 'buflisted'
int b_p_cin; ///< 'cindent'
char_u *b_p_cino; ///< 'cinoptions'
@@ -1037,7 +1038,7 @@ struct window_S {
int w_wrow, w_wcol; /* cursor position in window */
linenr_T w_botline; /* number of the line below the bottom of
- the screen */
+ the window */
int w_empty_rows; /* number of ~ rows in window */
int w_filler_rows; /* number of filler rows at the end of the
window */