From 25256307fb1134ecec3f79698d0dab97e7960ece Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 30 Apr 2026 19:46:34 +0200 Subject: [PATCH] plug: register anchor functions on index plug events --- plugs/index/index.plug.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugs/index/index.plug.yaml b/plugs/index/index.plug.yaml index 0061c8aa..96335bc9 100644 --- a/plugs/index/index.plug.yaml +++ b/plugs/index/index.plug.yaml @@ -10,6 +10,9 @@ functions: text: path: indexer.ts:indexMarkdown syscall: index.markdown + resolveAnchor: + path: api.ts:resolveAnchor + syscall: index.resolveAnchor queryLuaObjects: # DEPRECATED: use index.queryLuaObjects syscall instead path: api.ts:queryLuaObjects @@ -55,6 +58,12 @@ functions: events: - editor:complete + # Anchors + anchorComplete: + path: complete.ts:anchorComplete + events: + - editor:complete + # Hashtags tagComplete: path: tags.ts:tagComplete @@ -126,6 +135,11 @@ functions: events: - editor:lint + lintAnchors: + path: lint.ts:lintAnchors + events: + - editor:lint + # Tasks updateTaskState: path: task.ts:updateTaskState