Replies: 3 comments
-
This is something that's still undetermined, but it's a separate issue to #3745. That issue is about how we should represent the config passed to Firstly, there's a fundamental difference between With the new system, that is split into While For me, it makes sense that the Keep in mind that the I could see a case to be made for adding some fixes to We also have to consider the maintenance burden. We don't want to be responsible for ensuring every single lsp server has a working pre-defined config in nixvim (that's supposed to be nvim-lspconfig's job). TL;DR: we haven't really thought about this much yet, and are open to ideas and brainstorming. |
Beta Was this translation helpful? Give feedback.
-
Exactly. AFAIK, this quirky dependency of vue_ls on an enabled (and non-default configuration) of I personally really enjoy it when nixos modules (and nixvim) go above and beyond to capture these quirky dependencies (the code y'all have for
I'd propose a new |
Beta Was this translation helpful? Give feedback.
-
|
I think we have two main categories of custom behaviour in We have things that are fundamental to the specific lsp server, like an option to install its package or related packages (e.g. And we also have things that layer onto nvim-lspconfig. Maybe 5 or 6 servers have what we call Integration between servers, or with plugins, fall into a bit of an odd case. I suspect most of them assume they are layering on top of nvim-lspconfig. However many could probably also be made to work without nvim-lspconfig. A few may even work better without nvim-lspconfig; there are a handful of plugins that configure a server themselves and conflict with nvim-lspconfig. Ideally, we'd want these integrations to handle all possible permutations. In most cases that would just mean checking |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the older
plugins.lspAPI,plugins/lsp/language-servers/default.nixhas a huge collection of very useful options and sane defaults. For example, I recently learned about enablingvolarautomagically enablests_lsand reconfigures it with the appropriate plugin. Really awesome, useful stuff.As far as I can tell, we don't have a place for stuff like this yet in the newer
lspmodule API. To accomplish this, I had to put a version of that config in my personal nixvim config (jfly/snow@f4b37e5).Is there a home for this and I just haven't found it yet? Or is this all still being figured out, and that's what #3745 is tracking?
Beta Was this translation helpful? Give feedback.
All reactions