summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrHorn2022-05-04 05:51:31 +0000
committerGitHub2022-05-04 05:51:31 +0000
commit5ab669f1ac546924d96fdf7760d82e047ac4a8b6 (patch)
tree2251602bf63c08a3eb45a6cfbfe55958f0ea1bee
parent09a17e4fa3d0aa67e399c02c484a768d85acaac6 (diff)
replace constant.number with constant.numeric (#2389)
-rw-r--r--runtime/queries/hcl/highlights.scm2
-rw-r--r--runtime/themes/pop-dark.toml3
2 files changed, 1 insertions, 4 deletions
diff --git a/runtime/queries/hcl/highlights.scm b/runtime/queries/hcl/highlights.scm
index 03b3e525..d00f74f3 100644
--- a/runtime/queries/hcl/highlights.scm
+++ b/runtime/queries/hcl/highlights.scm
@@ -21,7 +21,7 @@
(identifier) @variable
(comment) @comment
(null_lit) @constant.builtin
-(numeric_lit) @constant.number
+(numeric_lit) @constant.numeric
(bool_lit) @constant.builtin.boolean
[
diff --git a/runtime/themes/pop-dark.toml b/runtime/themes/pop-dark.toml
index 4ff732b7..e662f957 100644
--- a/runtime/themes/pop-dark.toml
+++ b/runtime/themes/pop-dark.toml
@@ -55,9 +55,6 @@ namespace = { fg = 'orangeL' }
'constant.character' = { fg = 'greenS' }
'constant.character.escape' = { fg = 'blueL' }
'constant.numeric' = { fg = 'redH' }
-'constant.number' = { bg = 'blueH' }
-'constant.number.integer' = { fg = 'orangeS' }
-'constant.number.float' = { fg = 'orangeS' }
'string' = { fg = 'greenN' }
'string.regexp' = { fg = 'blueL' }
'string.special' = { fg = 'orangeW' }