diff options
| author | ckipp01 <ckipp@pm.me> | 2020-05-05 19:45:22 +0200 |
|---|---|---|
| committer | ckipp01 <ckipp@pm.me> | 2020-05-05 19:48:00 +0200 |
| commit | 1b350395ac47f89efd50402825537fc9c3136239 (patch) | |
| tree | cee21f3851cae1f238f9593357e228e8828c8177 /lua | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar.gz nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar.bz2 nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar.lz nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar.xz nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.tar.zst nvim-lspconfig-1b350395ac47f89efd50402825537fc9c3136239.zip | |
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.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/metals.lua | 14 |
1 files changed, 1 insertions, 13 deletions
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 } }; }; |
