aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()