aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-12 23:28:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-12 23:28:47 +1200
commit1d9d72c1bce46d7b88ea1b765d890e56dc91384e (patch)
treee1f3185c79a5b69338e8d4407222a4c544f2c9ce
parent9adbf4f7e575fe8bbcfb2e1b2b6cd34bf42140a2 (diff)
parentc43a3e4902ad8c53f80b6a1d0261be4a22e4db8d (diff)
downloadvim-shebang-create-exec-1d9d72c1bce46d7b88ea1b765d890e56dc91384e.tar.gz
vim-shebang-create-exec-1d9d72c1bce46d7b88ea1b765d890e56dc91384e.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/shebang_create_exec.txt2
-rw-r--r--plugin/shebang_create_exec.vim4
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 7dd6da8..45eba31 100644
--- a/README.md
+++ b/README.md
@@ -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/
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/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