From 4e8873296f691b257c0c6a36b0a03c154f600c7c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 17:47:30 +1200 Subject: Remove unneeded variable scoping --- plugin/insert_cancel.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim index 18bd0ac..8ad47e5 100644 --- a/plugin/insert_cancel.vim +++ b/plugin/insert_cancel.vim @@ -8,13 +8,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_insert_cancel') || &compatible +if exists('loaded_insert_cancel') || &compatible finish endif if v:version < 600 finish endif -let g:loaded_insert_cancel = 1 +let loaded_insert_cancel = 1 " On leaving insert mode, whether normally or via (InsertCancel), check " if changenr() exceeds the last time we cached it, and flag that a change has -- cgit v1.2.3