mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(neo-tree): setreg option should use table instead of string
This commit is contained in:
parent
e3bfcb9bf7
commit
cd359d892c
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ return {
|
||||||
function(state)
|
function(state)
|
||||||
local node = state.tree:get_node()
|
local node = state.tree:get_node()
|
||||||
local path = node:get_id()
|
local path = node:get_id()
|
||||||
vim.fn.setreg("+", path, "c")
|
vim.fn.setreg("+", path, { "c" })
|
||||||
end,
|
end,
|
||||||
desc = "copy path to clipboard",
|
desc = "copy path to clipboard",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue