Add wezvar nvim module

This commit is contained in:
Talia 2024-08-05 08:21:16 +02:00
parent 06caadc9e6
commit 6720827d61
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

7
vim/lua/wezvar.lua Normal file
View file

@ -0,0 +1,7 @@
return function(variable, value)
vim.fn.chansend(vim.v.stderr, string.format(
"\x1b]1337;SetUserVar=%s=%s\x07\n",
variable,
vim.base64.encode(value)
))
end