From 3d80d362dad0ca9569ddc5c3301b16c659ff34be Mon Sep 17 00:00:00 2001 From: poslop Date: Fri, 20 Feb 2026 14:02:30 -0600 Subject: [PATCH] remove osc52 pasting --- lua/config/lazy.lua | 2 +- lua/config/opts.lua | 4 ++-- lua/plugins/format.lua | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 1434abf..ddc50d0 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -25,7 +25,7 @@ require("lazy").setup { { import = "plugins" }, }, install = { colorscheme = { "tokyonight" } }, - checker = { enabled = true }, + checker = { enabled = true, notify = false }, } vim.cmd [[colorscheme tokyonight]] diff --git a/lua/config/opts.lua b/lua/config/opts.lua index 4ac7bc2..8f62c5f 100644 --- a/lua/config/opts.lua +++ b/lua/config/opts.lua @@ -10,8 +10,8 @@ if vim.env.SSH_CONNECTION then ["*"] = require("vim.ui.clipboard.osc52").copy("*"), }, paste = { - ["+"] = require("vim.ui.clipboard.osc52").paste("+"), - ["*"] = require("vim.ui.clipboard.osc52").paste("*"), + ["+"] = function() return nil end, + ["*"] = function() return nil end, }, } end diff --git a/lua/plugins/format.lua b/lua/plugins/format.lua index d691889..c2e8c77 100644 --- a/lua/plugins/format.lua +++ b/lua/plugins/format.lua @@ -19,6 +19,7 @@ return { lua = { "stylua" }, yml = { "yamlfmt" }, yaml = { "yamlfmt" }, + nix = { "nixfmt" }, }, default_format_opts = { lsp_format = "fallback",