Replies: 2 comments 1 reply
-
Not really sure about this either, don't have enough experience in none-ls. Some thoughts:
|
Beta Was this translation helpful? Give feedback.
-
I think this would "just" be a config file that lives somewhere that enables whatever sources you want.
I don't think I agree with this. The LSP spec is slow moving and preserves backwards compatibility, whereas we are currently coding against a more ambiguous Lua abstraction (which has been a recent source of pain: 94d024e, 3c4ca98, #229. For the record, I don't actually think this is a direction none-ls should go. The installation + configuration churn alone would alienate our users. I'm asking about this more as a "is this a good idea for a new project inspired by none-ls, or is there something I'm not seeing here?" question. |
Beta Was this translation helpful? Give feedback.
-
Could none-ls instead be implemented as proper language server that under the hood execs various shell commands?
I recently learned about our monkeypatching of
vim.lsp.Client.supports_method
, which isn't an option for a true language server. Are there other things like this lurking in our codebase?The benefit of making this a proper language server is that other editors besides Neovim (such as Helix) could benefit from the work we're doing here.
Beta Was this translation helpful? Give feedback.
All reactions