diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-03 19:05:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-03 19:05:49 +0200 |
commit | 2f095a4bc4d786e0ac834f48dd18a94fe2d140e3 (patch) | |
tree | 8334739af2be9fd8e3bd3b010c05ae1098bc3231 /src/structs.h | |
parent | ea0345901cc2af29f9c5dd0d9d8a818d5f96a63b (diff) | |
download | vim-git-2f095a4bc4d786e0ac834f48dd18a94fe2d140e3.tar.gz |
patch 7.4.1884v7.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.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index 08d332543..d9498e4d9 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1865,9 +1865,10 @@ struct file_buffer #ifdef FEAT_MBYTE int b_p_bomb; /* 'bomb' */ #endif -#if defined(FEAT_QUICKFIX) +#ifdef FEAT_QUICKFIX char_u *b_p_bh; /* 'bufhidden' */ char_u *b_p_bt; /* 'buftype' */ + int b_has_qf_entry; #endif int b_p_bl; /* 'buflisted' */ #ifdef FEAT_CINDENT @@ -2465,7 +2466,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 */ #ifdef FEAT_DIFF int w_filler_rows; /* number of filler rows at the end of the |