From a779a153dbd8cf6e6aaf0836bc6e5dfae17c0c66 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 17:41:08 +1200 Subject: Remove unneeded variable scoping --- plugin/foldlevelstart_stdin.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/foldlevelstart_stdin.vim b/plugin/foldlevelstart_stdin.vim index f8e4d50..37caddc 100644 --- a/plugin/foldlevelstart_stdin.vim +++ b/plugin/foldlevelstart_stdin.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_foldlevelstart_stdin') || &compatible +if exists('loaded_foldlevelstart_stdin') || &compatible finish endif if !has('autocmd') || !has('folding') || !exists('##StdinReadPre') finish endif -let g:loaded_foldlevelstart_stdin = 1 +let loaded_foldlevelstart_stdin = 1 " Check if 'foldlevelstart' is non-negative, and set 'foldlevel' to its value " if it is -- cgit v1.2.3