diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/http/highlights.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/queries/http/highlights.scm b/queries/http/highlights.scm new file mode 100644 index 00000000..c1fc5b9c --- /dev/null +++ b/queries/http/highlights.scm @@ -0,0 +1,33 @@ +; Display errors +(ERROR) @error + +; Comments +(comment) @comment + +(request + method: (method) @keyword + url: (url) @TSURI) + +(header + 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) @TSStringEscape + +(json_body) @keyword + +; rest.nvim Neovim plugin specific features +(external_body + json_file: (json_file) @TSURI) @keyword |
