From aef00a3ab640417f06dc9f59938283ffde5c451e Mon Sep 17 00:00:00 2001 From: Alexander Brevig Date: Sat, 20 Aug 2022 02:16:54 +0200 Subject: feat: add taskwarrior to languages so `task N edit` is nice (#3468) Co-authored-by: Michael Davis --- runtime/queries/task/highlights.scm | 4 ++++ runtime/queries/task/injections.scm | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 runtime/queries/task/highlights.scm create mode 100644 runtime/queries/task/injections.scm (limited to 'runtime') diff --git a/runtime/queries/task/highlights.scm b/runtime/queries/task/highlights.scm new file mode 100644 index 00000000..90441307 --- /dev/null +++ b/runtime/queries/task/highlights.scm @@ -0,0 +1,4 @@ +(comment) @comment +(datetime) @type +(identifier) @variable +(keyword) @keyword diff --git a/runtime/queries/task/injections.scm b/runtime/queries/task/injections.scm new file mode 100644 index 00000000..321c90ad --- /dev/null +++ b/runtime/queries/task/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) -- cgit v1.2.3-70-g09d2