Feature requrest: Override language LSP handler #150
Comments
Hi, this is a really cool feature, and this would allow us to extend our lsp functionality! I think this alternative api syntax is pretty fine, totally agree with your idea about the implementation :) Also this syntax could allow us to in a future also setup language servers that lspinstall doesn't cover (e.g. if the user wants to use other Python language server that he installed system-wide) and increase doom's extensibility IMO. Just a quick note if you haven't read our contributing guidelines: since this isn't a bug fix you should target Feel free to ask me something if you need help with the PR, I'll be glad to help you. Regards |
Hmm yeah this supposes a "change" of plans lol, we can introduce this in an additional PR. Duplicating the languages names can feel a bit weird and even redundant, but this actually has a point and that's the important thing. This can be translated to "I want CSS support with the CSS and tailwind language servers" so maybe we can go with the approach that you've proposed in order to also avoid creating an additional API. You can do the initial one that you've proposed at first instance and we can do this one later if you want to, it's better to take one step than to take none :p |
Huh this is still unresolved, don't you want this feature anymore? 👀 |
😵💫 Ooops, blanked on this, I forgot I didn't finish the PR my bad! |
No worries, was just asking :p |
Hi there,
Problem
I develop a lot of vue code projects and a new LSP has been developed called volar. There is a PR in the
nvim-lspinstall
repository that adds this LSP under the namevolar
. Because the LSP is not named the same as the language, it can't be installed automatically.Proposal
Possible alternative api
This would be an optional override where
install_servers
uses the string within the brackets to select which LSP to install.Consequences
We can expect these LSPs to conflict with eachother, if an override is supplied we should automatically uninstall the original LSP (if it is installed).
More opportunities for doom-nvim users to mess up their own config.
New non-standard API (doom-emacs doesn't have a similar setup).
I'm working on a PR now which I'll reference soon.
The text was updated successfully, but these errors were encountered: