aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 16:01:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 16:01:57 +1200
commitd63f11e151b1de9924bb96347f422f83d746a532 (patch)
treeae994695100299f522ba8c87fe3ed38e3be1257a
parentMerge branch 'hotfix/v0.1.1' (diff)
parentBump VERSION (diff)
downloadvim-equalalways-resized-d63f11e151b1de9924bb96347f422f83d746a532.tar.gz
vim-equalalways-resized-d63f11e151b1de9924bb96347f422f83d746a532.zip
Merge branch 'release/v0.2.0'v0.2.0
* release/v0.2.0: Remove unneeded variable scoping Switch to two-spacing
-rw-r--r--README.md2
-rw-r--r--VERSION2
-rw-r--r--doc/equalalways_resized.txt2
-rw-r--r--plugin/equalalways_resized.vim4
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 648ea3d..61b3606 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ is resized.
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 17e51c3..0ea3a94 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.1
+0.2.0
diff --git a/doc/equalalways_resized.txt b/doc/equalalways_resized.txt
index 3a67467..44dcbd7 100644
--- a/doc/equalalways_resized.txt
+++ b/doc/equalalways_resized.txt
@@ -7,7 +7,7 @@ resized.
REQUIREMENTS *equalalways_resized-requirements*
-This plugin only loads if 'compatible' is not set. It requires the |+autocmd|
+This plugin only loads if 'compatible' is not set. It requires the |+autocmd|
and |+windows| features, with the |VimResized| event introduced in |version7|.
AUTHOR *equalalways_resized-author*
diff --git a/plugin/equalalways_resized.vim b/plugin/equalalways_resized.vim
index 8865f0a..80ae548 100644
--- a/plugin/equalalways_resized.vim
+++ b/plugin/equalalways_resized.vim
@@ -5,13 +5,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_equalalways_resized') || &compatible
+if exists('loaded_equalalways_resized') || &compatible
finish
endif
if !has('autocmd') || !has('windows') || !exists('##VimResized')
finish
endif
-let g:loaded_equalalways_resized = 1
+let loaded_equalalways_resized = 1
" If 'equalalways' is set, rebalance the windows
function! s:Rebalance() abort