[NVIM] Check for OSC52 support

This commit is contained in:
Fabian Ising
2025-08-06 10:14:48 +02:00
parent c825643148
commit 6fdcef86b2

View File

@@ -203,7 +203,7 @@ nmap <Leader>t :call TextWrapToggle()<CR>
"augroup END "augroup END
"Copying "Copying
if (!shared_config) if ((!shared_config) && (exists('$LC_OCS52') && $LC_OCS52 == '1'))
lua << EOF lua << EOF
vim.g.clipboard = 'osc52' vim.g.clipboard = 'osc52'
EOF EOF