nvim: removed old solution

This commit is contained in:
gyoder 2025-07-30 12:34:58 -06:00
parent 6b312a8e49
commit 87dbe71a7b

View file

@ -99,28 +99,5 @@ if vim.env.TMUX ~= nil then
} }
end end
--
-- vim.api.nvim_create_autocmd("TextYankPost", {
-- callback = function()
-- vim.highlight.on_yank()
-- local osc52 = require("vim.ui.clipboard.osc52")
-- local contents = vim.v.event.regcontents
-- local regtype = vim.v.event.regtype
--
-- if type(contents) == "string" then
-- contents = { contents }
-- end
--
-- if regtype == "V" then
-- for i, line in ipairs(contents) do
-- contents[i] = line .. "\n"
-- end
-- end
--
-- osc52.copy("+")(contents)
-- osc52.copy("*")(contents)
-- end,
-- })
--
-- Enable experimental UI in neovim-nightly -- Enable experimental UI in neovim-nightly
require('vim._extui').enable({}) require('vim._extui').enable({})