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
I am trying to lazily load "nvimtools/none-ls.nvim" via the on "keys" feature to replace my previous usage of on "event". I am doing this as I am only using it to fill in the vim.lsp.bug.format gaps in some LSP servers, and don't need the plugin running otherwise.
When I have the plugin set to just load on my "v" binding, I seem to have to press the binding twice or so for it to actually utilize the none-ls sources.
I am thinking a solution would be to call the plugin and run the command as part of the binding.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to lazily load "nvimtools/none-ls.nvim" via the on "keys" feature to replace my previous usage of on "event". I am doing this as I am only using it to fill in the vim.lsp.bug.format gaps in some LSP servers, and don't need the plugin running otherwise.
When I have the plugin set to just load on my "v" binding, I seem to have to press the binding twice or so for it to actually utilize the none-ls sources.
I am thinking a solution would be to call the plugin and run the command as part of the binding.
Is it possible to do something like this?
Beta Was this translation helpful? Give feedback.
All reactions