Skip to content

Commit 3bb920f

Browse files
committed
hotfix(queries): update highlights queries (2)
1 parent 8bb2164 commit 3bb920f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

after/queries/http/highlights.scm

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; Keywords
22

3-
(scheme) @constant
3+
(scheme) @namespace
44

55
; Methods
66

@@ -10,9 +10,6 @@
1010

1111
(const_spec) @constant
1212

13-
; URL
14-
(host) @text.uri
15-
1613
; Headers
1714

1815
(header
@@ -26,6 +23,11 @@
2623

2724
(pair name: (identifier) @field)
2825

26+
; URL / Host
27+
(host) @text.uri
28+
(host (identifier) @text.uri)
29+
(path (identifier) @text.uri)
30+
2931
; Parameters
3032

3133
(query_param (key) @parameter)

0 commit comments

Comments
 (0)