aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyan Yazdani <yazdani.kiyan@protonmail.com>2020-06-15 23:15:15 +0200
committerGitHub <noreply@github.com>2020-06-15 23:15:15 +0200
commit81e8f3dbc217b711ce030536df0ac97b78472bb8 (patch)
treef2490ea2238fca140ca98897f580d119d40a4afd
parentMerge pull request #86 from steelsojka/feat/json (diff)
parentfix(javascript): set booleans to boolean highlights (diff)
downloadnvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar.gz
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar.bz2
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar.lz
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar.xz
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.tar.zst
nvim-treesitter-81e8f3dbc217b711ce030536df0ac97b78472bb8.zip
Merge pull request #87 from steelsojka/fix/js-boolean-fix
fix(javascript): set booleans to boolean highlights
-rw-r--r--queries/javascript/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm
index da88d85d0..dfbabc977 100644
--- a/queries/javascript/highlights.scm
+++ b/queries/javascript/highlights.scm
@@ -87,8 +87,8 @@
(this) @variable.builtin
(super) @variable.builtin
-(true) @constant.builtin
-(false) @constant.builtin
+(true) @boolean
+(false) @boolean
(null) @constant.builtin
(comment) @comment
(string) @string