From db0ccd920b3cf7e96a0a9b43aac0f367decd231a Mon Sep 17 00:00:00 2001 From: Matthias Queitsch Date: Fri, 28 Jul 2023 18:27:02 +0200 Subject: feat(prql): change `func` to `let` for prql 0.9.x --- lockfile.json | 2 +- queries/prql/highlights.scm | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lockfile.json b/lockfile.json index 66548f9a4..fb88906a8 100644 --- a/lockfile.json +++ b/lockfile.json @@ -402,7 +402,7 @@ "revision": "42d82fa18f8afe59b5fc0b16c207ee4f84cb185f" }, "prql": { - "revision": "b0b7cf06174e65e041d854b843e31f65e47d1fc7" + "revision": "09e158cd3650581c0af4c49c2e5b10c4834c8646" }, "pug": { "revision": "a7ff31a38908df9b9f34828d21d6ca5e12413e18" diff --git a/queries/prql/highlights.scm b/queries/prql/highlights.scm index 09bf7066b..92f74f089 100644 --- a/queries/prql/highlights.scm +++ b/queries/prql/highlights.scm @@ -35,12 +35,8 @@ alias: (identifier) @field - - (comment) @comment @spell -(keyword_func) @keyword.function - (function_call (identifier) @function.call) @@ -59,6 +55,7 @@ alias: (identifier) @field "&&" "||" "//" + "~=" (bang) ] @operator @@ -138,7 +135,7 @@ alias: (identifier) @field ] @keyword.operator (function_definition - (keyword_func) + (keyword_let) name: (identifier) @function) (parameter -- cgit v1.2.3-70-g09d2