mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
vim-patch:7.4.2017
Problem: When there are many errors adding them to the quickfix list takes
a long time.
Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
Remember the last file name used. When going through the buffer
list start from the end of the list. Only call buf_valid() when
autocommands were executed.
8240433f48
This commit is contained in:
@@ -15,9 +15,11 @@ enum getf_values {
|
||||
|
||||
// Values for buflist_new() flags
|
||||
enum bln_values {
|
||||
BLN_CURBUF = 1, // May re-use curbuf for new buffer
|
||||
BLN_LISTED = 2, // Put new buffer in buffer list
|
||||
BLN_DUMMY = 4, // Allocating dummy buffer
|
||||
BLN_CURBUF = 1, // May re-use curbuf for new buffer
|
||||
BLN_LISTED = 2, // Put new buffer in buffer list
|
||||
BLN_DUMMY = 4, // Allocating dummy buffer
|
||||
// TODO(mhinz): merge patch that introduces BLN_NEW
|
||||
BLN_NOOPT = 16, // Don't copy options to existing buffer
|
||||
};
|
||||
|
||||
// Values for action argument for do_buffer()
|
||||
|
Reference in New Issue
Block a user