summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorRyan <RyanSquared@users.noreply.github.com>2018-11-30 09:39:57 -0600
committerGitHub <noreply@github.com>2018-11-30 09:39:57 -0600
commit1d4f98553852499e0f8ebd951db6ada2b1d973e3 (patch)
tree6d02b71a9545825fca9ba14d2bd743ee360a9e87 /autoload
parent8176f79fa1a0bbfd64662bc45675d49de2694bbd (diff)
parent121ecf92629a93f48bac65035a5cce69a176657f (diff)
downloadale-1d4f98553852499e0f8ebd951db6ada2b1d973e3.zip
Merge pull request #2110 from w0rp/lazy-clipboardv2.3.0
Optimize :ALEIntoToClipboard to only copy to clipboard once
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/debugging.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/debugging.vim b/autoload/ale/debugging.vim
index 6c2bfbee..3aed38fe 100644
--- a/autoload/ale/debugging.vim
+++ b/autoload/ale/debugging.vim
@@ -237,10 +237,11 @@ function! ale#debugging#Info() abort
endfunction
function! ale#debugging#InfoToClipboard() abort
- redir @+>
+ redir => l:output
silent call ale#debugging#Info()
redir END
+ let @+ = l:output
call s:Echo('ALEInfo copied to your clipboard')
endfunction