aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query/compiler.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-08-05 13:38:06 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-08-05 13:38:06 -0400
commit2e79d1ece2737848234adec61cca77f9f604fce2 (patch)
treef7cd8b9985865cee360bc1b21b748309d166594b /pkg/query/compiler.go
parent2263b41287ed5dc9c1c4416cc296581f3a466144 (diff)
Add headings category to query lang
Diffstat (limited to 'pkg/query/compiler.go')
-rw-r--r--pkg/query/compiler.go2
1 files changed, 2 insertions, 0 deletions
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: