aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-06 00:03:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-06 00:03:13 +1200
commit1e468c89d17476b1eb7a44072b9a941f53934409 (patch)
treecdbdbfdd1207998af39c37567a5a80950c8ec4cb
parent71853dcfd5867115b1abe1f90c46e20c5fe1f01b (diff)
downloadvim-squeeze-repeat-blanks-1e468c89d17476b1eb7a44072b9a941f53934409.tar.gz
vim-squeeze-repeat-blanks-1e468c89d17476b1eb7a44072b9a941f53934409.zip
Remove unneeded function name
-rw-r--r--autoload/squeeze_repeat_blanks.vim2
-rw-r--r--plugin/squeeze_repeat_blanks.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/squeeze_repeat_blanks.vim b/autoload/squeeze_repeat_blanks.vim
index 9776643..9a9eb8b 100644
--- a/autoload/squeeze_repeat_blanks.vim
+++ b/autoload/squeeze_repeat_blanks.vim
@@ -1,6 +1,6 @@
" Reduce all groups of blank lines within range to the last line in that
" group, deleting the others.
-function! squeeze_repeat_blanks#Squeeze(start, end) abort
+function! squeeze_repeat_blanks#(start, end) abort
" Save cursor position
let pos = getpos('.')
diff --git a/plugin/squeeze_repeat_blanks.vim b/plugin/squeeze_repeat_blanks.vim
index fa6e1a5..e3263c6 100644
--- a/plugin/squeeze_repeat_blanks.vim
+++ b/plugin/squeeze_repeat_blanks.vim
@@ -13,4 +13,4 @@ let loaded_squeeze_repeat_blanks = 1
" User command for the above
command! -range=% SqueezeRepeatBlanks
- \ call squeeze_repeat_blanks#Squeeze(<line1>, <line2>)
+ \ call squeeze_repeat_blanks#(<line1>, <line2>)