Skip to content

Commit 52b9054

Browse files
committed
feat: set OSC 52 clipboard provider when connected via SSH_TTY
1 parent b5e06fc commit 52b9054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/core/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ local clipboard_config = function()
5050
},
5151
cache_enabled = 0,
5252
}
53-
elseif global.is_linux then
53+
elseif os.getenv("SSH_TTY") then
5454
vim.g.clipboard = {
5555
name = "OSC 52",
5656
copy = {

0 commit comments

Comments
 (0)