plug: register anchor functions on index plug events
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user