diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 11:40:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 11:40:57 +1200 |
commit | 98eb34d4ef603039cd9d5a50e3c4f12fcb943fce (patch) | |
tree | 7219e9220e031ef305e301b06477b78a0effc96d | |
parent | Merge branch 'release/v0.6.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-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.md | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/copy_linebreak.txt | 6 | ||||
-rw-r--r-- | plugin/copy_linebreak.vim | 4 |
4 files changed, 7 insertions, 7 deletions
@@ -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/ @@ -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() |