diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-10 09:50:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-10 09:50:34 +1200 |
commit | 5ccfda04042991e01afb24a53bfb6fa9464c198b (patch) | |
tree | 4e8a683336cd4f4c31733398af2295c23e3a7502 | |
parent | Switch to two-spacing (diff) | |
download | vim-insert-suspend-hlsearch-5ccfda04042991e01afb24a53bfb6fa9464c198b.tar.gz vim-insert-suspend-hlsearch-5ccfda04042991e01afb24a53bfb6fa9464c198b.zip |
Remove unneeded variable scoping
-rw-r--r-- | plugin/insert_suspend_hlsearch.vim | 4 |
1 files 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 <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 |