We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2adb21e commit 50dd338Copy full SHA for 50dd338
lua/orgmode/capture/init.lua
@@ -51,7 +51,7 @@ end
51
52
---@param shortcut string
53
function Capture:open_template_by_shortcut(shortcut)
54
- local template = self.templates[shortcut]
+ local template = self.templates:get_list()[shortcut]
55
if not template then
56
return utils.echo_error('No capture template with shortcut ' .. shortcut)
57
end
0 commit comments