diff options
| author | gegoune <dev@clog.rocks> | 2021-11-04 23:12:21 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-12 21:52:50 +0100 |
| commit | bb0ef1848853c825dcf805a63ea98a648bb60b48 (patch) | |
| tree | 06a6b09a29516af79cd00f2ad44af45f792157b1 /queries/http | |
| parent | fix: address change requests (diff) | |
| download | nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar.gz nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar.bz2 nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar.lz nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar.xz nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.tar.zst nvim-treesitter-bb0ef1848853c825dcf805a63ea98a648bb60b48.zip | |
refactor: inherit json
Diffstat (limited to 'queries/http')
| -rw-r--r-- | queries/http/highlights.scm | 18 |
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 |
