From bb0ef1848853c825dcf805a63ea98a648bb60b48 Mon Sep 17 00:00:00 2001 From: gegoune Date: Thu, 4 Nov 2021 23:12:21 +0200 Subject: refactor: inherit json --- queries/http/highlights.scm | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'queries/http') diff --git a/queries/http/highlights.scm b/queries/http/highlights.scm index 00be374c..f5a08813 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 -- cgit v1.2.3