aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-06 00:04:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-06 00:04:49 +1200
commit448470c75df7d3f2a5513cb68fe43e703faaf23b (patch)
tree8d6b5dab338ff13d73ae30f89535c438f7d0b700
parentfe84095e699642359ba59ce53684edaf6ac00b2f (diff)
parent3af88506fd5a6ebd2acdf75f57ef641ca1f657f3 (diff)
downloadvim-squeeze-repeat-blanks-448470c75df7d3f2a5513cb68fe43e703faaf23b.tar.gz
vim-squeeze-repeat-blanks-448470c75df7d3f2a5513cb68fe43e703faaf23b.zip
Merge branch 'release/v0.5.0'v0.5.0
* release/v0.5.0: Remove unneeded function name
-rw-r--r--VERSION2
-rw-r--r--autoload/squeeze_repeat_blanks.vim2
-rw-r--r--plugin/squeeze_repeat_blanks.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 1d0ba9e..8f0916f 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.4.0
+0.5.0
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>)