Add wezvar nvim module
This commit is contained in:
parent
06caadc9e6
commit
6720827d61
1 changed files with 7 additions and 0 deletions
7
vim/lua/wezvar.lua
Normal file
7
vim/lua/wezvar.lua
Normal 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
|
Loading…
Reference in a new issue