From a5e012b5839927601b8e2f0d997c8b3579fa772c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 May 2019 09:49:58 +1200 Subject: Switch to two-spacing --- README.md | 2 +- doc/insert_suspend_hlsearch.txt | 4 ++-- plugin/insert_suspend_hlsearch.vim | 2 +- 3 files changed, 4 insertions(+), 4 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/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..69d6e55 100644 --- a/plugin/insert_suspend_hlsearch.vim +++ b/plugin/insert_suspend_hlsearch.vim @@ -18,7 +18,7 @@ let g:loaded_insert_suspend_hlsearch = 1 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 -- cgit v1.2.3 From 5ccfda04042991e01afb24a53bfb6fa9464c198b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 May 2019 09:50:34 +1200 Subject: Remove unneeded variable scoping --- plugin/insert_suspend_hlsearch.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/insert_suspend_hlsearch.vim b/plugin/insert_suspend_hlsearch.vim index 69d6e55..635ed8e 100644 --- a/plugin/insert_suspend_hlsearch.vim +++ b/plugin/insert_suspend_hlsearch.vim @@ -6,13 +6,13 @@ " Author: Tom Ryder " 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 -- cgit v1.2.3 From 6829000f5b7c6a327c6561af98699156df8b9053 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 May 2019 09:51:31 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a918a2a..faef31a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.0 +0.7.0 -- cgit v1.2.3