silverbullet/plugs/query/query.plug.yaml

41 lines
713 B
YAML
Raw Normal View History

name: query
functions:
# API
queryParsed:
path: api.ts:queryParsed
query:
path: api.ts:query
renderQuery:
path: api.ts:renderQuery
queryWidget:
path: widget.ts:widget
codeWidget: query
renderMode: markdown
# Query widget buttons
editButton:
path: widget.ts:editButton
2023-11-21 23:56:21 +08:00
lintQuery:
path: lint.ts:lintQuery
2023-11-21 23:56:21 +08:00
events:
- editor:lint
queryComplete:
path: complete.ts:queryComplete
events:
- editor:complete
2023-10-04 23:14:24 +08:00
languageComplete:
path: complete.ts:languageComplete
events:
- editor:complete
2023-11-15 17:08:21 +08:00
refreshAllWidgets:
path: widget.ts:refreshAllWidgets
2023-11-15 17:08:21 +08:00
command:
name: "Live Queries and Templates: Refresh All"
key: "Alt-q"