diff --git a/src/libs/qmljs/qmljsdocument.cpp b/src/libs/qmljs/qmljsdocument.cpp
index d347e76a710465b2782255f3db52908567d981e1..fa580cce13a5b0949552e8f11a63875ac48c8248 100644
--- a/src/libs/qmljs/qmljsdocument.cpp
+++ b/src/libs/qmljs/qmljsdocument.cpp
@@ -159,7 +159,8 @@ QList<Language::Enum> Document::companionLanguages(Language::Enum language)
         break;
     case Language::Unknown:
         langs << Language::JavaScript << Language::Json << Language::QmlProject << Language:: QmlQbs
-              << Language::QmlTypeInfo << Language::QmlQtQuick1 << Language::QmlQtQuick2 ;
+              << Language::QmlTypeInfo << Language::QmlQtQuick1 << Language::QmlQtQuick2
+              << Language::Qml;
         break;
     }
     return langs;