Skip to content

Conversation

@ReadHegel
Copy link

As stated in the mason-lspconfig changelog, they removed the handlers configuration in their plugin, making Kickstart no longer responsible for automatic LSP server configuration.

### Removed Features

- Removed the `handlers` setting and `.setup_handlers()` function.
- Replaced by the new native `vim.lsp.config()` API.
- Introduced a new `automatic_enable` setting.

@meierjan
Copy link

If I understand this correctly, all config settings that are currently (so, before this fix) set within init.lua via local servers = {} are not applied: contrary to what is documented. I'm a nobody, so it took me quite some time to debug and figure out that this is the source of the problem.

@tjdevries, if that is correct, any chance we can merge this to prevent other starters from going crazy, as their LSP configs are never applied?

Thank you for the project & the fix ❤️

@runemoennike
Copy link

I spent way too long realizing this was the reason my attempts to fix an issue with ElixirLS seemed to have no effect at all :(

patrikjokhel added a commit to patrikjokhel/kickstart.nvim that referenced this pull request Jan 13, 2026
-- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for ts_ls)
config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {})
vim.lsp.config(name, config)
Copy link

@versi786 versi786 Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is missing one line as mentioned here. Without this change the LSP does not start automatically when a file is opened.

Suggested change
vim.lsp.config(name, config)
vim.lsp.config(name, config)
vim.lsp.enable(name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants