diff --git a/lockfile.json b/lockfile.json index 0c671acc8..07ca9dea1 100644 --- a/lockfile.json +++ b/lockfile.json @@ -324,7 +324,7 @@ "revision": "6858695eba0e63b9e0fceef081d291eb352abce8" }, "idl": { - "revision": "995d917f120ef428a086d15935d20ab2fb8c345c" + "revision": "d8c1cf254f2e9d0cf9f111190c408bf3480e34e2" }, "ini": { "revision": "87176e524f0a98f5be75fa44f4f0ff5c6eac069c" diff --git a/queries/idl/highlights.scm b/queries/idl/highlights.scm index 051690836..9c51513d9 100644 --- a/queries/idl/highlights.scm +++ b/queries/idl/highlights.scm @@ -106,7 +106,12 @@ (boolean_literal) @boolean -(number_literal) @number +(integer_literal) @number + +[ + (floating_pt_literal) + (fixed_pt_literal) +] @number.float (char_literal) @character @@ -400,3 +405,11 @@ (system_lib_string "<" @string ">" @string) + +(extend_annotation_appl + "//@" @attribute + (annotation_appl_custom_body)) + +(extend_annotation_appl + "//@" @attribute.builtin + (annotation_appl_builtin_body))