diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 10:50:27 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 10:50:27 +1200 |
commit | 5a547325bc70c09f562f783448276a6562eb9216 (patch) | |
tree | d7ec2ca95de11317fff985c1f685c200cadd614f | |
parent | Merge branch 'hotfix/v0.2.1' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-cmdwin-ctrlc-5a547325bc70c09f562f783448276a6562eb9216.tar.gz vim-cmdwin-ctrlc-5a547325bc70c09f562f783448276a6562eb9216.zip |
* release/v0.3.0:
Remove unneeded variable scoping
Switch to two-spacing
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/cmdwin_ctrlc.txt | 2 | ||||
-rw-r--r-- | plugin/cmdwin_ctrlc.vim | 4 |
4 files changed, 5 insertions, 5 deletions
@@ -8,7 +8,7 @@ of the appropriate type, with the cursor at the end of the line. 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`. Original idea and prototyping by m1n, first working map implementation by @@ -1 +1 @@ -0.2.1 +0.3.0 diff --git a/doc/cmdwin_ctrlc.txt b/doc/cmdwin_ctrlc.txt index fa83aa4..96086ed 100644 --- a/doc/cmdwin_ctrlc.txt +++ b/doc/cmdwin_ctrlc.txt @@ -8,7 +8,7 @@ of the appropriate type, with the cursor at the end of the line. REQUIREMENTS *cmdwin_ctrlc-requirements* -This plugin is only available if 'compatible' is not set. It also requires +This plugin is only available if 'compatible' is not set. It also requires |autocmd|. AUTHOR *cmdwin_ctrlc-author* diff --git a/plugin/cmdwin_ctrlc.vim b/plugin/cmdwin_ctrlc.vim index b32f832..72a233c 100644 --- a/plugin/cmdwin_ctrlc.vim +++ b/plugin/cmdwin_ctrlc.vim @@ -6,13 +6,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_cmdwin_ctrlc') || &compatible +if exists('loaded_cmdwin_ctrlc') || &compatible finish endif if !has('autocmd') || v:version < 700 finish endif -let g:loaded_cmdwin_ctrlc = 1 +let loaded_cmdwin_ctrlc = 1 " Map Ctrl-C to close the command window and put the current line on a new " command line of the appropriate type, with the cursor at the end. |