diff --git a/ycmd/completers/language_server/language_server_completer.py b/ycmd/completers/language_server/language_server_completer.py index 6617e52187..3d588a4347 100644 --- a/ycmd/completers/language_server/language_server_completer.py +++ b/ycmd/completers/language_server/language_server_completer.py @@ -2377,7 +2377,8 @@ def _SendInitialize( self, request_data ): 'additional_workspace_dirs', [] ) ) - extra_capabilities = self._settings.get( 'capabilities' , {} ) + extra_capabilities = {} + extra_capabilities.updaet( self._settings.get( 'capabilities' , {} ) ) extra_capabilities.update( self.ExtraCapabilities() ) msg = lsp.Initialize( request_id,