aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-10 09:51:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-10 09:51:40 +1200
commit39e9abea82f6485cc429f05a03f63c9cabf086c6 (patch)
tree4b5a0e911bcfbdb549e3a88c8ff2bc001e113e7c
parentMerge branch 'release/v0.6.0' (diff)
parentBump VERSION (diff)
downloadvim-insert-suspend-hlsearch-0.7.0.tar.gz (sig)
vim-insert-suspend-hlsearch-0.7.0.zip
Merge branch 'release/v0.7.0'v0.7.0
* release/v0.7.0: Remove unneeded variable scoping Switch to two-spacing
-rw-r--r--README.md2
-rw-r--r--VERSION2
-rw-r--r--doc/insert_suspend_hlsearch.txt4
-rw-r--r--plugin/insert_suspend_hlsearch.vim6
4 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index e7d7b9b..eb9659a 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ Requires Vim 7.0 or later.
License
-------
-Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
+Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
See `:help license`.
[1]: https://sanctum.geek.nz/
diff --git a/VERSION b/VERSION
index a918a2a..faef31a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.6.0
+0.7.0
diff --git a/doc/insert_suspend_hlsearch.txt b/doc/insert_suspend_hlsearch.txt
index e263194..56bee0e 100644
--- a/doc/insert_suspend_hlsearch.txt
+++ b/doc/insert_suspend_hlsearch.txt
@@ -8,8 +8,8 @@ distracting effect the highlighting can cause while writing.
REQUIREMENTS *insert_suspend_hlsearch-requirements*
-This plugin is only available if 'compatible' is not set. It also requires the
-|+autocmd| and |+extra_search| features.
+This plugin is only available if 'compatible' is not set. It also requires
+the |+autocmd| and |+extra_search| features.
AUTHOR *insert_suspend_hlsearch-author*
diff --git a/plugin/insert_suspend_hlsearch.vim b/plugin/insert_suspend_hlsearch.vim
index 5d199f7..635ed8e 100644
--- a/plugin/insert_suspend_hlsearch.vim
+++ b/plugin/insert_suspend_hlsearch.vim
@@ -6,19 +6,19 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_insert_suspend_hlsearch') || &compatible
+if exists('loaded_insert_suspend_hlsearch') || &compatible
finish
endif
if !has('autocmd') || !has('extra_search') || v:version < 700
finish
endif
-let g:loaded_insert_suspend_hlsearch = 1
+let loaded_insert_suspend_hlsearch = 1
" Initialise option saving variable
let s:hlsearch_save = &hlsearch
" Save the current value of the 'hlsearch' option in a script variable, and
-" disable it if enabled. Note that :nohlsearch does not work for this; see
+" disable it if enabled. Note that :nohlsearch does not work for this; see
" :help autocmd-searchpat.
function! s:Suspend() abort
let s:hlsearch_save = &hlsearch