diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-08-05 13:38:06 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-08-05 13:38:06 -0400 |
| commit | 2e79d1ece2737848234adec61cca77f9f604fce2 (patch) | |
| tree | f7cd8b9985865cee360bc1b21b748309d166594b /pkg/query/compiler.go | |
| parent | 2263b41287ed5dc9c1c4416cc296581f3a466144 (diff) | |
Add headings category to query lang
Diffstat (limited to 'pkg/query/compiler.go')
| -rw-r--r-- | pkg/query/compiler.go | 2 |
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: |
