refactor(nvim): return true
from autocmd to degregister it
This commit is contained in:
parent
81de0a0574
commit
3f8a2e4874
@ -21,7 +21,7 @@ return {
|
||||
if vim.fn.isdirectory(f) ~= 0 then
|
||||
vim.cmd("Neotree current dir=" .. f)
|
||||
-- neo-tree is loaded now, delete the init autocmd
|
||||
vim.api.nvim_clear_autocmds({ group = "NeoTreeInit" })
|
||||
return true
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user