aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-24 16:36:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-24 16:36:45 +1200
commitd592ad0dd21f33ebcfa0a4287f7ff7edd9ab90ef (patch)
treed94a52c7208514b4ea84f333c201a8553a40f52e
parentSwitch to two-spacing (diff)
downloadvim-put-blank-lines-d592ad0dd21f33ebcfa0a4287f7ff7edd9ab90ef.tar.gz
vim-put-blank-lines-d592ad0dd21f33ebcfa0a4287f7ff7edd9ab90ef.zip
Remove unneeded variable scoping
-rw-r--r--plugin/put_blank_lines.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/put_blank_lines.vim b/plugin/put_blank_lines.vim
index 922b4e4..f779f46 100644
--- a/plugin/put_blank_lines.vim
+++ b/plugin/put_blank_lines.vim
@@ -5,13 +5,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_put_blank_lines') || &compatible
+if exists('loaded_put_blank_lines') || &compatible
finish
endif
if v:version < 700
finish
endif
-let g:loaded_put_blank_lines = 1
+let loaded_put_blank_lines = 1
" Set up mappings to autoloaded functions
nnoremap <expr> <silent> <unique>