We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
on_new_config
1 parent 736ef26 commit 324d022Copy full SHA for 324d022
lsp/ruby_lsp.lua
@@ -20,9 +20,6 @@ return {
20
init_options = {
21
formatter = 'auto',
22
},
23
- on_new_config = function(config, root_dir)
24
- config.cmd_cwd = root_dir
25
- end,
26
reuse_client = function(client, config)
27
local client_cwd = client.config.cmd_cwd or client.root_dir
28
local config_cwd = config.cmd_cwd or config.root_dir
0 commit comments