Skip to content

Commit 93a6685

Browse files
author
Oliver Caldwell
committed
Correct opts lookup for set-jump-mark, fixes #305
1 parent f4596fa commit 93a6685

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fnl/conjure/eval.fnl

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
(when (not opts.passive?)
109109
(display-request opts))
110110

111-
(when base-opts.set-jump-mark?
111+
(when opts.set-jump-mark?
112112
(pcall #(nu.normal "m'")))
113113

114114
(client.call f-name opts))))

lua/conjure/eval.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ local function client_exec_fn(action, f_name, base_opts)
107107
display_request(opts0)
108108
else
109109
end
110-
if base_opts["set-jump-mark?"] then
110+
if opts0["set-jump-mark?"] then
111111
local function _11_()
112112
return nu.normal("m'")
113113
end

0 commit comments

Comments
 (0)