mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:9.1.1287: quickfix code can be further improved
Problem: quickfix code can be further improved (after v9.1.1283)
Solution: slightly refactor quickfix.c (Hirohito Higashi)
- remove error message output
- adjust comments
- rename functions:
- qf_init_quickfix_stack() --> qf_init_stack()
- qf_resize_quickfix_stack() --> qf_resize_stack()
- qf_resize_stack() --> qf_resize_stack_base()
Now qf_alloc_stack() can handle both quickfix/location lists.
closes: vim/vim#17068
adcfb6caeb
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
@@ -239,8 +239,8 @@ void early_init(mparm_T *paramp)
|
||||
|
||||
set_lang_var(); // set v:lang and v:ctype
|
||||
|
||||
// initialize global quickfix list
|
||||
qf_init_quickfix_stack();
|
||||
// initialize quickfix list
|
||||
qf_init_stack();
|
||||
}
|
||||
|
||||
#ifdef MAKE_LIB
|
||||
|
Reference in New Issue
Block a user