aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 10:50:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 10:50:27 +1200
commit5a547325bc70c09f562f783448276a6562eb9216 (patch)
treed7ec2ca95de11317fff985c1f685c200cadd614f
parentMerge branch 'hotfix/v0.2.1' (diff)
parentBump VERSION (diff)
downloadvim-cmdwin-ctrlc-5a547325bc70c09f562f783448276a6562eb9216.tar.gz
vim-cmdwin-ctrlc-5a547325bc70c09f562f783448276a6562eb9216.zip
Merge branch 'release/v0.3.0'HEADv0.3.0master
* release/v0.3.0: Remove unneeded variable scoping Switch to two-spacing
-rw-r--r--README.md2
-rw-r--r--VERSION2
-rw-r--r--doc/cmdwin_ctrlc.txt2
-rw-r--r--plugin/cmdwin_ctrlc.vim4
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1658895..9e7ab01 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/VERSION b/VERSION
index 0c62199..0d91a54 100644
--- a/VERSION
+++ b/VERSION
@@ -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.