From e266986c3a771a959d9461475e32854cdff64bb7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 23:18:44 +1200 Subject: Remove unneeded variable scoping --- plugin/scroll_next.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/scroll_next.vim b/plugin/scroll_next.vim index 0cb23dc..8f09b24 100644 --- a/plugin/scroll_next.vim +++ b/plugin/scroll_next.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_scroll_next') || &compatible +if exists('loaded_scroll_next') || &compatible finish endif if v:version < 600 finish endif -let g:loaded_scroll_next = 1 +let loaded_scroll_next = 1 " Check visibility of last line (Vim >=7.0) or cursor presence on last line " and flick to :next if appropriate, or just page forward with PageDown -- cgit v1.2.3