Skip to content

Commit 777eebf

Browse files
committed
fix: reference to preview_callback function
1 parent 2ed5c50 commit 777eebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/live-command/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ M.create_preview_command = function(preview_cmd_name)
8787
nargs = "*",
8888
preview = function(opts, preview_ns, preview_buf)
8989
local cmd_to_preview = opts.args
90-
return preview_callback(cmd_to_preview, preview_ns, preview_buf)
90+
return M.preview_callback(cmd_to_preview, preview_ns, preview_buf)
9191
end,
9292
})
9393
end

0 commit comments

Comments
 (0)