diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/equalalways_resized.txt | 2 | ||||
-rw-r--r-- | plugin/equalalways_resized.vim | 4 |
4 files changed, 5 insertions, 5 deletions
@@ -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/ @@ -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 |