Mercurial > vim
comparison src/vim.h @ 9473:bdac1019552f v7.4.2017
commit https://github.com/vim/vim/commit/8240433f48f7383c281ba2453cc55f10b8ec47d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 10 17:00:38 2016 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 10 Jul 2016 17:15:05 +0200 |
parents | f094d4085014 |
children | b2aada04d84e |
comparison
equal
deleted
inserted
replaced
9472:4f3a46b55fd1 | 9473:bdac1019552f |
---|---|
939 /* Values for buflist_new() flags */ | 939 /* Values for buflist_new() flags */ |
940 #define BLN_CURBUF 1 /* may re-use curbuf for new buffer */ | 940 #define BLN_CURBUF 1 /* may re-use curbuf for new buffer */ |
941 #define BLN_LISTED 2 /* put new buffer in buffer list */ | 941 #define BLN_LISTED 2 /* put new buffer in buffer list */ |
942 #define BLN_DUMMY 4 /* allocating dummy buffer */ | 942 #define BLN_DUMMY 4 /* allocating dummy buffer */ |
943 #define BLN_NEW 8 /* create a new buffer */ | 943 #define BLN_NEW 8 /* create a new buffer */ |
944 #define BLN_NOOPT 16 /* don't copy options to existing buffer */ | |
944 | 945 |
945 /* Values for in_cinkeys() */ | 946 /* Values for in_cinkeys() */ |
946 #define KEY_OPEN_FORW 0x101 | 947 #define KEY_OPEN_FORW 0x101 |
947 #define KEY_OPEN_BACK 0x102 | 948 #define KEY_OPEN_BACK 0x102 |
948 #define KEY_COMPLETE 0x103 /* end of completion */ | 949 #define KEY_COMPLETE 0x103 /* end of completion */ |