mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
lsp: fix issue with everything other than elixir
This commit is contained in:
parent
ce909992f6
commit
f0ad4cd2ec
2 changed files with 13 additions and 6 deletions
|
@ -82,6 +82,13 @@ in
|
|||
require('lspconfig')[server].setup(__setup)
|
||||
else
|
||||
local options = ${runWrappers cfg.setupWrappers "server.extraOptions"}
|
||||
|
||||
if options == nil then
|
||||
options = __setup
|
||||
else
|
||||
options = vim.tbl_extend("keep", options, __setup)
|
||||
end
|
||||
|
||||
require('lspconfig')[server.name].setup(options)
|
||||
end
|
||||
end
|
||||
|
|
12
tests/flake.lock
generated
12
tests/flake.lock
generated
|
@ -97,12 +97,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-NLfZri8QaYVDjLHfDAqP+DHyIRsb+bXn+2dJtoFo1LM=",
|
||||
"path": "/nix/store/j8vf0lmn4w9w18jva2dn9kfk2aw1niff-source",
|
||||
"narHash": "sha256-FTGR/AeBEZQeWqSQqbnR+3oW4NJvhwshJu8/mHDWwQ8=",
|
||||
"path": "/nix/store/rhjvdj0kd7drmgnaj06q3kazi496zb6f-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/j8vf0lmn4w9w18jva2dn9kfk2aw1niff-source",
|
||||
"path": "/nix/store/rhjvdj0kd7drmgnaj06q3kazi496zb6f-source",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
@ -116,12 +116,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-NLfZri8QaYVDjLHfDAqP+DHyIRsb+bXn+2dJtoFo1LM=",
|
||||
"path": "/nix/store/j8vf0lmn4w9w18jva2dn9kfk2aw1niff-source",
|
||||
"narHash": "sha256-FTGR/AeBEZQeWqSQqbnR+3oW4NJvhwshJu8/mHDWwQ8=",
|
||||
"path": "/nix/store/rhjvdj0kd7drmgnaj06q3kazi496zb6f-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/j8vf0lmn4w9w18jva2dn9kfk2aw1niff-source",
|
||||
"path": "/nix/store/rhjvdj0kd7drmgnaj06q3kazi496zb6f-source",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue