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.
2 parents 2adb21e + 50dd338 commit e1f3054Copy full SHA for e1f3054
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