fix(#1836): add view.debounce_delay (#1871)

* fix(#1836):add view.debounce_delay to avoid some unnecessary explorer reloads

* fixed BufReadPost & BufUnload nil pointer

* update_focused_file.debouce_delay to view.debounce_delay

* changed docs to be more accurate

* added debounce on modified update

* Using same event for filter buffer

* removed unused View.debounce_delay

* changed docs to be more accurate

Co-authored-by: doot <gugegby@gmail.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Richard Li
2023-01-02 09:32:56 +13:00
committed by GitHub
parent e322fbb80b
commit 951b6e7e55
3 changed files with 21 additions and 12 deletions

View File

@@ -24,6 +24,9 @@ local function refactored(opts)
-- 2022/11/22
utils.move_missing_val(opts, "renderer", "root_folder_modifier", opts, "renderer", "root_folder_label", true)
-- 2023/01/01
utils.move_missing_val(opts, "update_focused_file", "debounce_delay", opts, "view", "debounce_delay", true)
end
local function removed(opts)