Support LSP workspace/didChangeConfiguration in addition to initializationOptions #1447

Closed
opened 2026-02-16 17:31:01 -05:00 by yindo · 1 comment
Owner

Originally created by @garrett-hopper on GitHub (Aug 22, 2025).

Originally assigned to: @rekram1-node on GitHub.

Currently custom LSPs can only be configured with initialize which passes initializationOptions as part of the LSP initialization call.
Some LSP servers require settings to be passed in workspace/didChangeConfiguration instead. (Namely tailwindcss-language-server is what I'm running into at the moment)

workspace/didChangeConfiguration appears to be the more standard way to configuring LSP servers (Neovim passes settings as this, which the majority of configurations in nvim-lspconfig utilize as opposed to of init_options).

Originally created by @garrett-hopper on GitHub (Aug 22, 2025). Originally assigned to: @rekram1-node on GitHub. Currently custom LSPs can only be configured with `initialize` which passes `initializationOptions` as part of the LSP initialization call. Some LSP servers require settings to be passed in `workspace/didChangeConfiguration` instead. (Namely [tailwindcss-language-server](https://github.com/tailwindlabs/tailwindcss-intellisense/blob/main/packages/tailwindcss-language-server) is what I'm running into at the moment) `workspace/didChangeConfiguration` appears to be the more standard way to configuring LSP servers (Neovim passes `settings` as this, which the majority of configurations in [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) utilize as opposed to of `init_options`).
yindo closed this issue 2026-02-16 17:31:01 -05:00
Author
Owner

@garrett-hopper commented on GitHub (Aug 22, 2025):

Notably, terraform-ls requires initializationOptions instead, so both are needed. (lspconfig/doc/configs.md#terraformls)

@garrett-hopper commented on GitHub (Aug 22, 2025): Notably, `terraform-ls` requires `initializationOptions` instead, so both are needed. ([lspconfig/doc/configs.md#terraformls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#terraformls))
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1447