ms-jpq / chadtree

File manager for Neovim. Better than NERDTree.
1.62k stars 60 forks source link

attempt to index field "api|g" (a nil value) error. #337

Open dtrckd opened 1 year ago

dtrckd commented 1 year ago

Hey, When the editor is opened by an external programm, like git or vimdiff for example, I get those errors :

$ vimdiff
hint: Waiting for your editor to close the file... Error detected while processing /home/dtrckd/.vim/bundle/chadtree/plugin/chadtree.vim:
line   20:
/home/dtrckd/.vim/bundle/chadtree/lua/chadtree.lua:6: attempt to index field 'api' (a nil value)
Error detected while processing /home/dtrckd/.vim/bundle/coq_nvim/plugin/coq.vim:
line    1:
/home/dtrckd/.vim/bundle/coq_nvim/lua/coq.lua:36: attempt to index field 'g' (a nil value)

(after I type \<enter> the editor open though)

Do you know what is involved and how we can solve this ?