diff options
Diffstat (limited to '')
| -rw-r--r-- | plugin/vim-ai.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/vim-ai.vim b/plugin/vim-ai.vim index 134f878..cd0cd6f 100644 --- a/plugin/vim-ai.vim +++ b/plugin/vim-ai.vim @@ -18,11 +18,13 @@ function! AIRun(...) range execute a:firstline . ',' . a:lastline . 'd' + set paste if a:lastline == buff_lastline execute "normal! o" . output . "\<Esc>" else execute "normal! O" . output . "\<Esc>" endif + set nopaste endfunction |