aboutsummaryrefslogtreecommitdiffstats
path: root/queries/haskell_persistent/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/haskell_persistent/highlights.scm')
-rw-r--r--queries/haskell_persistent/highlights.scm28
1 files changed, 14 insertions, 14 deletions
diff --git a/queries/haskell_persistent/highlights.scm b/queries/haskell_persistent/highlights.scm
index e806befcf..22cbf5cb3 100644
--- a/queries/haskell_persistent/highlights.scm
+++ b/queries/haskell_persistent/highlights.scm
@@ -1,20 +1,23 @@
-;; ----------------------------------------------------------------------------
-;; Literals and comments
-
+; ----------------------------------------------------------------------------
+; Literals and comments
(integer) @number
+
(float) @number.float
+
(char) @character
+
(string) @string
+
(attribute_name) @attribute
+
(attribute_exclamation_mark) @attribute
-(con_unit) @string.special.symbol ; unit, as in ()
+(con_unit) @string.special.symbol ; unit, as in ()
(comment) @comment @spell
-;; ----------------------------------------------------------------------------
-;; Keywords, operators, includes
-
+; ----------------------------------------------------------------------------
+; Keywords, operators, includes
[
"Id"
"Primary"
@@ -24,15 +27,12 @@
"=" @operator
-
-;; ----------------------------------------------------------------------------
-;; Functions and variables
-
+; ----------------------------------------------------------------------------
+; Functions and variables
(variable) @variable
-;; ----------------------------------------------------------------------------
-;; Types
-
+; ----------------------------------------------------------------------------
+; Types
(type) @type
(constructor) @constructor