Permalink
Browse files

Add QML support (#142)

* Add QML support

* Add QML to README

* Add test for QML files
  • Loading branch information...
brandonsoto authored and Aaronepower committed Sep 18, 2017
1 parent f6804f9 commit 6eee9909565ddf783f82b840a103e0bf150d9d5a
Showing with 32 additions and 0 deletions.
  1. +1 −0 README.md
  2. +11 −0 languages.json
  3. +20 −0 tests/data/qml.qml
View
@@ -319,6 +319,7 @@ Protocol Buffers
PureScript
Python
QCL
QML
R
Rakefile
Razor
View
@@ -921,6 +921,17 @@
"qcl"
]
},
"Qml":{
"name":"QML",
"base": "c",
"quotes":[
["\\\"", "\\\""],
["'", "'"]
],
"extensions":[
"qml"
]
},
"R":{
"base":"hash",
"extensions":[
View
@@ -0,0 +1,20 @@
// 20 lines 11 code 5 comments 4 blanks
import QtQuick 2.7
import QtQuick.Controls 2.0
ApplicationWindow {
visible: true
/*
* Multiline comment
*/
Text {
text: "string type 1"
}
// comment
function testfunc() {
console.log('string type 2');
}
}

0 comments on commit 6eee990

Please sign in to comment.