You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but does not work plus it has their own problems like there should be only one setup, thinking about the after/ftplugin directory but i feel it won't work either so i suppose, maybe can be implemented internally in neotest , probably create some table that can be passed to setup as an alternative to the adapters table to be able to lazy load by ft, something like adapters_by_ft that should look like this:
It would be great to load the adapters according to the filetype. I am trying to get rid of my IDEs and to switch to Neovim for almost everything. But without neotest, it isn't interesting to get rid of my IDEs right now.
Question / Proposal:
Is there a way to lazy load the adapters based on the file type?
The problem is that all the adapters are loaded even when they are no required for the current neotest session.
The current implementation is:
I tried:
but does not work plus it has their own problems like there should be only one setup, thinking about the
after/ftplugin
directory but i feel it won't work either so i suppose, maybe can be implemented internally inneotest
, probably create some table that can be passed to setup as an alternative to theadapters
table to be able to lazy load by ft, something likeadapters_by_ft
that should look like this:I think it would be nice, maybe i will try to implement this by myself, and if it works submit a PR.
The text was updated successfully, but these errors were encountered: