diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 23:32:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 23:32:12 +1200 |
commit | 582790977cdbb98c0ab9bfdd8d9e1cabfe79ac0d (patch) | |
tree | 1bedc4a1cdbd9a3e68b9ae34dbb557e96d5ccf00 /plugin | |
parent | Switch to two-spacing (diff) | |
download | vim-squeeze-repeat-blanks-582790977cdbb98c0ab9bfdd8d9e1cabfe79ac0d.tar.gz vim-squeeze-repeat-blanks-582790977cdbb98c0ab9bfdd8d9e1cabfe79ac0d.zip |
Remove unneeded variable scoping
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/squeeze_repeat_blanks.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/squeeze_repeat_blanks.vim b/plugin/squeeze_repeat_blanks.vim index e0391c3..fb85812 100644 --- a/plugin/squeeze_repeat_blanks.vim +++ b/plugin/squeeze_repeat_blanks.vim @@ -6,13 +6,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_squeeze_repeat_blanks') || &compatible +if exists('loaded_squeeze_repeat_blanks') || &compatible finish endif if !has('user_commands') || v:version < 700 finish endif -let g:loaded_squeeze_repeat_blanks = 1 +let loaded_squeeze_repeat_blanks = 1 " User command for the above command! -range=% SqueezeRepeatBlanks |