From 5ab669f1ac546924d96fdf7760d82e047ac4a8b6 Mon Sep 17 00:00:00 2001 From: ChrHorn Date: Wed, 4 May 2022 07:51:31 +0200 Subject: [PATCH] replace constant.number with constant.numeric (#2389) --- runtime/queries/hcl/highlights.scm | 2 +- runtime/themes/pop-dark.toml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/runtime/queries/hcl/highlights.scm b/runtime/queries/hcl/highlights.scm index 03b3e5258..d00f74f37 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 4ff732b76..e662f9575 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' }