aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/diff/prune.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/diff/prune.vim')
-rw-r--r--after/ftplugin/diff/prune.vim9
1 files changed, 3 insertions, 6 deletions
diff --git a/after/ftplugin/diff/prune.vim b/after/ftplugin/diff/prune.vim
index 185d04f..53e05cb 100644
--- a/after/ftplugin/diff/prune.vim
+++ b/after/ftplugin/diff/prune.vim
@@ -17,19 +17,16 @@ endif
" Flag as loaded
let b:did_ftplugin_diff_prune = 1
-let b:undo_ftplugin = b:undo_ftplugin
- \ . '|unlet b:did_ftplugin_diff_prune'
+let b:undo_ftplugin .= '|unlet b:did_ftplugin_diff_prune'
" Define normal mode mapping target
nnoremap <buffer> <silent> <unique>
\ <Plug>(DiffPrune)
\ :<C-U>set operatorfunc=diff#prune#Prune<CR>g@
-let b:undo_ftplugin = b:undo_ftplugin
- \ . '|nunmap <buffer> <Plug>(DiffPrune)'
+let b:undo_ftplugin .= '|nunmap <buffer> <Plug>(DiffPrune)'
" Define visual mode mapping target
vnoremap <buffer> <silent> <unique>
\ <Plug>(DiffPrune)
\ :<C-U>call diff#prune#Prune(visualmode())<CR>
-let b:undo_ftplugin = b:undo_ftplugin
- \ . '|vunmap <buffer> <Plug>(DiffPrune)'
+let b:undo_ftplugin .= '|vunmap <buffer> <Plug>(DiffPrune)'