-
In the file: function lazy_vars.CLIPBOARD() -- The contents of your clipboard
return vim.fn.getreg('"', 1, true)
end I would like to set the register to |
Beta Was this translation helpful? Give feedback.
Answered by
L3MON4D3
Jul 8, 2022
Replies: 1 comment 3 replies
-
Oh, this will be doable via custom env-variables, see #476.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
voyeg3r
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, this will be doable via custom env-variables, see #476.
So basically you can
functionNode
that returnsvim.fn.getreg("+", 1, true)
(not useable in lsp-snippets, but otherwise I'd just pick this)