feat/chore: rewrite git with job and some other fixes (#743)

* feat/chore: rewrite git with job and some other fixes

* fix: fs clear window, rename echo_warning -> warn

also fix renaming and add an event blocker to avoid running many events
at the same time
This commit is contained in:
Kiyan
2021-11-27 16:02:54 +01:00
committed by GitHub
parent b853e1083c
commit 6662b60a2b
15 changed files with 453 additions and 354 deletions

View File

@@ -24,7 +24,8 @@ local out_config = {
"nvim_tree_disable_keybindings",
"nvim_tree_disable_default_keybindings",
"nvim_tree_hide_dotfiles",
"nvim_tree_ignore"
"nvim_tree_ignore",
"nvim_tree_gitignore"
}
local x = vim.tbl_filter(function(v)
@@ -33,5 +34,5 @@ end, out_config)
if #x > 0 then
local msg = "Following options were moved to setup, see git.io/JPhyt: "
require'nvim-tree.utils'.echo_warning(msg..table.concat(x, ", "))
require'nvim-tree.utils'.warn(msg..table.concat(x, ", "))
end