From 16be14399e222e86f0e76c9e3a4882940ddac643 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 11:40:28 +1200 Subject: Remove unneeded variable scoping --- plugin/copy_linebreak.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim index e437e03..8b93c24 100644 --- a/plugin/copy_linebreak.vim +++ b/plugin/copy_linebreak.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_copy_linebreak') || &compatible +if exists('loaded_copy_linebreak') || &compatible finish endif if !has('linebreak') || v:version < 600 finish endif -let g:loaded_copy_linebreak = 1 +let loaded_copy_linebreak = 1 " Enable copy-friendly linebreak options function! s:CopyLinebreakEnable() -- cgit v1.2.3