diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/shebang_create_exec.txt | 2 | ||||
-rw-r--r-- | plugin/shebang_create_exec.vim | 4 |
4 files changed, 5 insertions, 5 deletions
@@ -9,7 +9,7 @@ successful save. 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/shebang_create_exec.txt b/doc/shebang_create_exec.txt index 1cf16be..d5995d4 100644 --- a/doc/shebang_create_exec.txt +++ b/doc/shebang_create_exec.txt @@ -10,7 +10,7 @@ successful save. REQUIREMENTS *shebang_create_exec-requirements* This plugin only loads if 'compatible' is not set, and requires the |+autocmd| -and |+unix| features. It also requires the |shellescape()| function that was +and |+unix| features. It also requires the |shellescape()| function that was added in |version-7.0| patch 111. AUTHOR *shebang_create_exec-author* diff --git a/plugin/shebang_create_exec.vim b/plugin/shebang_create_exec.vim index 401a23b..91d2f84 100644 --- a/plugin/shebang_create_exec.vim +++ b/plugin/shebang_create_exec.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_shebang_create_exec') || &compatible +if exists('loaded_shebang_create_exec') || &compatible finish endif if !has('autocmd') || !has('unix') || !exists('*shellescape') finish endif -let g:loaded_shebang_create_exec = 1 +let loaded_shebang_create_exec = 1 " Set up hook for before writes to check the buffer for new shebangs augroup shebang_create_exec |