From 1b350395ac47f89efd50402825537fc9c3136239 Mon Sep 17 00:00:00 2001 From: ckipp01 Date: Tue, 5 May 2020 19:45:22 +0200 Subject: Remove unnecessary init_options for Metals. As of the 0.9.0 release of Metals, a bug was fixed where previously all of the `InitializationOptions` needed to be specified if you set any in order to not have a null pointer exception. This is fixed now so all of the default have been removed, and only the necessary ones remain. --- lua/nvim_lsp/metals.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'lua') diff --git a/lua/nvim_lsp/metals.lua b/lua/nvim_lsp/metals.lua index 9b8198ba..8b716b0b 100644 --- a/lua/nvim_lsp/metals.lua +++ b/lua/nvim_lsp/metals.lua @@ -67,21 +67,9 @@ configs[server_name] = { message_level = vim.lsp.protocol.MessageType.Log; init_options = { statusBarProvider = "show-message", - didFocusProvider = false, - slowTaskProvider = false, - inputBoxProvider = false, - quickPickProvider = false, - executeClientCommandProvider = false, - doctorProvider = "html", - isExitOnShutdown = false, isHttpEnabled = true, compilerOptions = { - isCompletionItemDetailEnabled = true, - isCompletionItemDocumentationEnabled = true, - isHoverDocumentationEnabled = true, - snippetAutoIndent = false, - isSignatureHelpDocumentationEnabled = true, - isCompletionItemResolve = true + snippetAutoIndent = false } }; }; -- cgit v1.2.3-70-g09d2