From d4090ea19f3747701529091c4dd280410b4ff20c Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 4 Jul 2023 20:11:05 +0200 Subject: [PATCH] feat: with response code Signed-off-by: kjuulh --- lazy-lock.json | 2 +- queries/hurl/highlights.scm | 42 ++++++++++++++++++++++++------------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 8c00cd2..a4fb2f1 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,5 +1,5 @@ { - "LazyVim": { "branch": "main", "commit": "d33be73b8d0a1f6b1dbabfc30bbac02d88d177b9" }, + "LazyVim": { "branch": "main", "commit": "0b020dc37b30fd93a199f1124a95028cb544eac7" }, "LuaSnip": { "branch": "master", "commit": "105b5f7f72c13e682a3aa5d29eac2408ae513b22" }, "alpha-nvim": { "branch": "main", "commit": "9e33db324b8bb7a147bce9ea5496686ee859461d" }, "bufferline.nvim": { "branch": "main", "commit": "2f391fde91b9c3876eee359ee24cc352050e5e48" }, diff --git a/queries/hurl/highlights.scm b/queries/hurl/highlights.scm index 837da55..81c6911 100644 --- a/queries/hurl/highlights.scm +++ b/queries/hurl/highlights.scm @@ -1,17 +1,29 @@ [ - "GET" - "POST" - "PUT" - "DELETE" - "CONNECT" - "OPTIONS" - "TRACE" - "PATCH" - "LINK" - "UNLINK" - "PURGE" - "LOCK" - "UNLOCK" - "PROPFIND" - "VIEW" + "GET" + "POST" + "PUT" + "DELETE" + "CONNECT" + "OPTIONS" + "TRACE" + "PATCH" + "LINK" + "UNLINK" + "PURGE" + "LOCK" + "UNLOCK" + "PROPFIND" + "VIEW" ] @keyword + +[ + (url) +] @string + +[ + (response) +] @keyword.response + +[ + (status_code_pattern) +] @constant