Merge pull request #2110 from w0rp/lazy-clipboard

Optimize :ALEIntoToClipboard to only copy to clipboard once
This commit is contained in:
Ryan 2018-11-30 09:39:57 -06:00 committed by GitHub
commit 1d4f985538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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