refactor: inherit json

This commit is contained in:
gegoune 2021-11-04 23:12:21 +02:00 committed by Stephan Seitz
parent 599bdaf2f0
commit bb0ef18488
2 changed files with 3 additions and 16 deletions

View file

@ -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