darkrc/vim/lua/wezvar.lua

8 lines
164 B
Lua
Raw Normal View History

2024-08-05 06:21:16 +00:00
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