aboutsummaryrefslogtreecommitdiff
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
parent4d189176359f23318cb46386d4140cd7fc629124 (diff)
parentdce44abfdb9b31f69ed6b6203e1ad40d70f3b8a6 (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
-rw-r--r--README.md2
-rw-r--r--VERSION2
-rw-r--r--doc/copy_linebreak.txt6
-rw-r--r--plugin/copy_linebreak.vim4
4 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index a36ec6a..27f138f 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ emulators or screen/tmux.
License
-------
-Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
+Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
See `:help license`.
[1]: https://sanctum.geek.nz/
diff --git a/VERSION b/VERSION
index a918a2a..faef31a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.6.0
+0.7.0
diff --git a/doc/copy_linebreak.txt b/doc/copy_linebreak.txt
index 6b87bd8..754cccb 100644
--- a/doc/copy_linebreak.txt
+++ b/doc/copy_linebreak.txt
@@ -9,8 +9,8 @@ emulators or screen/tmux.
REQUIREMENTS *copy_linebreak-requirements*
-This plugin is only available if 'compatible' is not set. It also requires the
-|+linebreak| feature.
+This plugin is only available if 'compatible' is not set. It also requires
+the |+linebreak| feature.
MAPPINGS *copy_linebreak-mappings*
@@ -24,7 +24,7 @@ Mapping targets provided are:
Toggle between the above two states.
There are no default key mappings to any of these targets; you should define
-them yourself in your |vimrc|. For example:
+them yourself in your |vimrc|. For example:
>
nmap <Leader>b <Plug>(CopyLinebreakToggle)
<
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()