stevearc/vim-arduino

can't execute commands when file launched through file manager

windostechsupport opened this issue · 1 comments

Describe the bug
I can't execute any of the Arduino commands when a file is loaded from a file manager such as nerdtree or telescope, even though vim-arduino is shown as loaded in lazy.nvim . Lazy loading is disabled.
If I open a file directly via the shell everything works without an issue.

System information

  • OS: [gnu/linux]
  • Vim: [neovim 10.0-5, NVchad]
  • Arduino: [1.8.19]
  • CLI version: [0.35.3]

To Reproduce
Steps to reproduce the behavior:

  1. open nvim
  2. launch i.e NERDtree
  3. open any desired text file

Expected behavior
to be able to use vim-arduino regardless of launching method.

Currently having the same issue, the commands are not seen as "editor commands" if i open the .ino file through neo-tree or any other in-editor method. but if i open the file directly through terminal everything works as intended, bumping in hopes someone has a way to fix this