diff --git a/lua/nvim-tree.lua b/lua/nvim-tree.lua index 0890aef1..08a2c651 100644 --- a/lua/nvim-tree.lua +++ b/lua/nvim-tree.lua @@ -15,7 +15,7 @@ local M = {} function M.focus() M.open() - view.focus(); + view.focus() end ---@deprecated diff --git a/lua/nvim-tree/actions/copy-paste.lua b/lua/nvim-tree/actions/copy-paste.lua index 2202b7b1..05ff879f 100644 --- a/lua/nvim-tree/actions/copy-paste.lua +++ b/lua/nvim-tree/actions/copy-paste.lua @@ -147,8 +147,8 @@ function M.print_clipboard() end local function copy_to_clipboard(content) - vim.fn.setreg('+', content); - vim.fn.setreg('"', content); + vim.fn.setreg('+', content) + vim.fn.setreg('"', content) return a.nvim_out_write(string.format('Copied %s to system clipboard! \n', content)) end