aboutsummaryrefslogtreecommitdiff
path: root/plugin/copy_linebreak.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 11:40:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 11:40:57 +1200
commit98eb34d4ef603039cd9d5a50e3c4f12fcb943fce (patch)
tree7219e9220e031ef305e301b06477b78a0effc96d /plugin/copy_linebreak.vim
parentMerge branch 'release/v0.6.0' (diff)
parentBump VERSION (diff)
downloadvim-copy-linebreak-98eb34d4ef603039cd9d5a50e3c4f12fcb943fce.tar.gz
vim-copy-linebreak-98eb34d4ef603039cd9d5a50e3c4f12fcb943fce.zip
Merge branch 'release/v0.7.0'v0.7.0
* release/v0.7.0: Remove unneeded variable scoping Switch to two-spacing
Diffstat (limited to 'plugin/copy_linebreak.vim')
-rw-r--r--plugin/copy_linebreak.vim4
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()