plug: register anchor functions on index plug events

This commit is contained in:
Zef Hemel
2026-04-30 19:46:34 +02:00
parent b05b6f4652
commit 25256307fb
+14
View File
@@ -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