diff options
Diffstat (limited to 'queries/qmljs/highlights.scm')
| -rw-r--r-- | queries/qmljs/highlights.scm | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/queries/qmljs/highlights.scm b/queries/qmljs/highlights.scm index cfaeeeda..f3b5524b 100644 --- a/queries/qmljs/highlights.scm +++ b/queries/qmljs/highlights.scm @@ -1,5 +1,7 @@ ; inherits: ecma +"pragma" @include + ;;; Annotations (ui_annotation @@ -56,14 +58,28 @@ (ui_object_definition type_name: (nested_identifier) @type) - -;;; js +;;; namespace +(nested_identifier + (nested_identifier + (identifier) @namespace) +) ; Properties ;----------- (property_identifier) @property +;;; function +(call_expression + function: (member_expression + object: (identifier) @variable + property:(property_identifier) @function + ) +) +;;; js + + + ; Literals ;--------- @@ -91,6 +107,7 @@ ;;; keywrod in qml [ + "on" "required" "property" "signal" |
