Closed mracos closed 2 years ago
I can make the on_attach function public, and you should just be able to call that in your existing on_attach handler and get the commands.
Ohh, that would be amazing! Another thing is, would it try to install and start the server if I have another configuration (e.g. lsp-config
, nvim-lsp-installer
) or that would be detected? 👀
If you don't call require("elixir").setup()
, it won't do anything.
I see, thanks for the help! 💙
Pushed this change to main.
You should be able to call
require("elixir").on_attach(client, bufnr)
inside your own on_attach handler and it will set up the user commands.
Please close this issue if it works 👍
Worked perfectly! Tyvm!
Hey, nice plugin! 💙
Been wondering if you could make the "lsp management" stuff (installing, starting the server, running tests, etc) under a configuration flag? I'm interested in other features from this plugin (e.g. ElixirFromPipe) but I don't want to lose my current lsp setup haha