refactor(nvim): return true from autocmd to degregister it

This commit is contained in:
Price Hiller 2024-02-09 02:18:12 -06:00
parent 81de0a0574
commit 3f8a2e4874
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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,
})