diff --git a/lua/lspconfig/server_configurations/matlab_ls.lua b/lua/lspconfig/server_configurations/matlab_ls.lua index 80c868f053..cadc60b0b0 100644 --- a/lua/lspconfig/server_configurations/matlab_ls.lua +++ b/lua/lspconfig/server_configurations/matlab_ls.lua @@ -7,19 +7,13 @@ return { root_dir = util.find_git_ancestor, single_file_support = false, settings = { - matlab = { + MATLAB = { indexWorkspace = false, installPath = '', matlabConnectionTiming = 'onStart', telemetry = true, }, }, - handlers = { - ['workspace/configuration'] = function(_, _, ctx) - local client = vim.lsp.get_client_by_id(ctx.client_id) - return { client.config.settings.matlab } - end, - }, }, docs = { description = [[