aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-29 15:10:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-29 15:10:37 +1200
commit491537fe310f8d72c13df08f35c8aaa2595491dc (patch)
treea3f691b117b74a46f2dc685fd68dc1df29ef630a
parentAdd version guard (diff)
downloadvim-strip-trailing-whitespace-491537fe310f8d72c13df08f35c8aaa2595491dc.tar.gz
vim-strip-trailing-whitespace-491537fe310f8d72c13df08f35c8aaa2595491dc.zip
Add <unique> attribute
-rw-r--r--plugin/strip_trailing_whitespace.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index 72a43a8..8be44ba 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -90,6 +90,6 @@ function! s:StripTrailingWhitespace()
endfunction
" Create mapping proxy to the function just defined
-noremap <silent>
+noremap <silent> <unique>
\ <Plug>StripTrailingWhitespace
\ :<C-U>call <SID>StripTrailingWhitespace()<CR>