aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-01 10:27:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-01 10:27:38 +1200
commit952e8379d2769449a84c0a55bf6996d74f3b822e (patch)
treeb32d02b6485a38e877a46be02523bbf6c9c9f12b
parentInitial commit (diff)
downloadvim-insert-suspend-hlsearch-952e8379d2769449a84c0a55bf6996d74f3b822e.tar.gz
vim-insert-suspend-hlsearch-952e8379d2769449a84c0a55bf6996d74f3b822e.zip
Remove unneeded function returns
-rw-r--r--plugin/insert_suspend_hlsearch.vim2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/insert_suspend_hlsearch.vim b/plugin/insert_suspend_hlsearch.vim
index b916ac4..cf096d5 100644
--- a/plugin/insert_suspend_hlsearch.vim
+++ b/plugin/insert_suspend_hlsearch.vim
@@ -22,7 +22,6 @@ function s:HlsearchSuspend()
if s:hlsearch
set nohlsearch
endif
- return
endfunction
" Restore the value of 'hlsearch' from the last time s:HlsearchSuspend was
@@ -31,7 +30,6 @@ function s:HlsearchRestore()
if s:hlsearch
set hlsearch
endif
- return
endfunction
" Clear search highlighting as soon as I enter insert mode, and restore it