code: function _getPluginsForCurrentContext() {
          var curDoc = DocumentManager.getCurrentDocument();
  
          if (curDoc) {
              var languageId = curDoc.getLanguage().getId();
              return _providerRegistrationHandler.getProvidersForLanguageId(languageId);
          }
  
          return _providerRegistrationHandler.getProvidersForLanguageId(); //plugins registered for all
      }
docs: Helper function to get the plugins based on the type of the current document.
  @private
  @returns {Array} Returns the plugings based on the languageId of the current document.