-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the plugin docs
- I have searched the existing issues
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.11.2
Operating system/version
MacOS 15.5
Describe the bug
User is unable to override the default configuration for init_options because tbl_extend is used instead of tbl_deep_extend here:
| org_setup(vim.tbl_extend('force', default_config, user_config)) |
If deep extend was used, user could provide a subset of extendedCapabilities to be overridden. As is, the entire table is replaced with the user config, meaning the user has to redefine all defaults to change one value, for example
Steps To Reproduce
- provide
require('lspconfig').jdtls.setup({
init_options = {
extendedClientCababilities = {
...
}
}
})- The entire default table will be overridden
Expected Behavior
default extendedClientCapabilities table is merged with user configured table
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working