fix(neo-tree): setreg option should use table instead of string

This commit is contained in:
PostCyberPunk 2024-03-09 09:56:45 +08:00
parent e3bfcb9bf7
commit cd359d892c

View file

@ -65,7 +65,7 @@ return {
function(state)
local node = state.tree:get_node()
local path = node:get_id()
vim.fn.setreg("+", path, "c")
vim.fn.setreg("+", path, { "c" })
end,
desc = "copy path to clipboard",
},