From 2e79d1ece2737848234adec61cca77f9f604fce2 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Tue, 5 Aug 2025 13:38:06 -0400 Subject: Add headings category to query lang --- pkg/query/compiler.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/query/compiler.go') diff --git a/pkg/query/compiler.go b/pkg/query/compiler.go index 8b71124..efdc3b4 100644 --- a/pkg/query/compiler.go +++ b/pkg/query/compiler.go @@ -53,6 +53,8 @@ func (s Statements) buildCompile(b *strings.Builder, delim string) ([]any, error catStr = "meta " case CAT_TAGS: catStr = "tag " + case CAT_HEADINGS: + catStr = "headings " case CAT_TITLE: catStr = "title " default: -- cgit v1.2.3