Fixes #18937
https://github.com/vim/vim/pull/18939
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra commented on this pull request.
In src/testdir/test_eval_stuff.vim:
> @@ -1152,4 +1165,27 @@ func Test_clipboard_provider_copy_paste_independent()
set clipmethod&
endfunc
+" Test if clipboard provider feature works under :redir
+func Test_clipboard_provider_redir()
+ CheckFeature clipboard_provider
+
+ let v:clipproviders["test"] = {
+ \ "copy": {
+ \ '+': function("s:Copy"),
+ \ '*': function("s:Copy")
+ \ }
+ \ }
+ set clipmethod=test
+
+ redir @+
+ echom "testing"
+ redir END
While at it, I suppose it also makes sense to add a test using execute() function
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@64-bitman pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()