aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/http/highlights.scm18
1 files changed, 2 insertions, 16 deletions
diff --git a/queries/http/highlights.scm b/queries/http/highlights.scm
index 00be374cb..f5a08813b 100644
--- a/queries/http/highlights.scm
+++ b/queries/http/highlights.scm
@@ -1,3 +1,5 @@
+; inherits: json
+
; Display errors
(ERROR) @error
@@ -12,22 +14,6 @@
name: (name) @constant
value: (value))
-; JSON
-(json_pair
- key: (_) @keyword)
-
-(json_string) @string
-
-(json_number) @number
-
-(json_boolean) @boolean
-
-(json_null) @constant
-
-(json_escape_sequence) @string.escape
-
-(json_body) @keyword
-
; rest.nvim Neovim plugin specific features
(external_body
json_file: (json_file) @text.uri) @keyword