diff options
author | Ryan <RyanSquared@users.noreply.github.com> | 2018-11-30 09:39:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 09:39:57 -0600 |
commit | 1d4f98553852499e0f8ebd951db6ada2b1d973e3 (patch) | |
tree | 6d02b71a9545825fca9ba14d2bd743ee360a9e87 /autoload | |
parent | 8176f79fa1a0bbfd64662bc45675d49de2694bbd (diff) | |
parent | 121ecf92629a93f48bac65035a5cce69a176657f (diff) | |
download | ale-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.vim | 3 |
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 |