aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 14:42:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 14:42:24 +1200
commit8333e1283e797d58f2cd7aa4226fc294851b16ad (patch)
tree82e039d393bdc2cf0fc751c324175431e1ac9b9c
parent317e4603dc9b930ab65ad8cdcddc1605642c8368 (diff)
downloaddotfiles-8333e1283e797d58f2cd7aa4226fc294851b16ad.tar.gz
dotfiles-8333e1283e797d58f2cd7aa4226fc294851b16ad.zip
Remove error suppression on Vim unmaps
-rw-r--r--vim/after/ftplugin/vim.vim24
1 files changed, 12 insertions, 12 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim
index 6c04e1f4..9710b2d8 100644
--- a/vim/after/ftplugin/vim.vim
+++ b/vim/after/ftplugin/vim.vim
@@ -25,15 +25,15 @@ let b:undo_ftplugin = b:undo_ftplugin
" Get rid of the core ftplugin's square-bracket maps on unload
let b:undo_ftplugin = b:undo_ftplugin
- \ . '|silent! nunmap <buffer> [['
- \ . '|silent! vunmap <buffer> [['
- \ . '|silent! nunmap <buffer> ]]'
- \ . '|silent! vunmap <buffer> ]]'
- \ . '|silent! nunmap <buffer> []'
- \ . '|silent! vunmap <buffer> []'
- \ . '|silent! nunmap <buffer> ]['
- \ . '|silent! vunmap <buffer> ]['
- \ . '|silent! nunmap <buffer> ]"'
- \ . '|silent! vunmap <buffer> ]"'
- \ . '|silent! nunmap <buffer> ["'
- \ . '|silent! vunmap <buffer> ["'
+ \ . '|nunmap <buffer> [['
+ \ . '|vunmap <buffer> [['
+ \ . '|nunmap <buffer> ]]'
+ \ . '|vunmap <buffer> ]]'
+ \ . '|nunmap <buffer> []'
+ \ . '|vunmap <buffer> []'
+ \ . '|nunmap <buffer> ]['
+ \ . '|vunmap <buffer> ]['
+ \ . '|nunmap <buffer> ]"'
+ \ . '|vunmap <buffer> ]"'
+ \ . '|nunmap <buffer> ["'
+ \ . '|vunmap <buffer> ["'