From f5658686e62ee382a30b3e5cef422cb6f1dfcea1 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 26 Apr 2023 02:19:28 -0700 Subject: [PATCH] nvim: fix oscyank warning --- .config/nvim/lua/blake/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index 865f4a8..9fe9ddb 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -506,7 +506,7 @@ return require('packer').startup({function() 'ojroques/vim-oscyank', config = function() -- Yanking to "+ will yank to system board - vim.cmd [[ autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | execute 'OSCYankReg +' | endif ]] + vim.cmd [[ autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | execute 'OSCYankRegister +' | endif ]] end } use { -- fixcursorhold: fix neovim bug #12587 - https://github.com/neovim/neovim/issues/12587