aboutsummaryrefslogtreecommitdiff
path: root/plugin/scroll_next.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/scroll_next.vim')
-rw-r--r--plugin/scroll_next.vim4
1 files 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 <tom@sanctum.geek.nz>
" 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