Skip to content

Commit

Permalink
Fix incorrect syntax highlight for request line without specifing method
Browse files Browse the repository at this point in the history
  • Loading branch information
Huachao committed Jan 4, 2021
1 parent 5fce6fc commit b66de7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/http.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"name": "string.other.http"
}
},
"match": "^([\\w\\-]+)\\s*(\\:)\\s*(.*?)\\s*$",
"match": "^([\\w\\-]+)\\s*(\\:)\\s*([^\/].*?)\\s*$",
"name": "http.headers"
},
{
Expand Down

0 comments on commit b66de7f

Please sign in to comment.