Skip to content

Commit 324d022

Browse files
committed
on_new_config is not needed
1 parent 736ef26 commit 324d022

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lsp/ruby_lsp.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ return {
2020
init_options = {
2121
formatter = 'auto',
2222
},
23-
on_new_config = function(config, root_dir)
24-
config.cmd_cwd = root_dir
25-
end,
2623
reuse_client = function(client, config)
2724
local client_cwd = client.config.cmd_cwd or client.root_dir
2825
local config_cwd = config.cmd_cwd or config.root_dir

0 commit comments

Comments
 (0)