diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 11:40:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 11:40:28 +1200 |
commit | 16be14399e222e86f0e76c9e3a4882940ddac643 (patch) | |
tree | 5f549303945a40c7474b7b02c854c0cf3ce9779f | |
parent | Switch to two-spacing (diff) | |
download | vim-copy-linebreak-16be14399e222e86f0e76c9e3a4882940ddac643.tar.gz vim-copy-linebreak-16be14399e222e86f0e76c9e3a4882940ddac643.zip |
Remove unneeded variable scoping
-rw-r--r-- | plugin/copy_linebreak.vim | 4 |
1 files 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 <tom@sanctum.geek.nz> " 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() |