diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 62ab4d7a..1a242d68 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -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", },