aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 17:41:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 17:41:38 +1200
commit040ee022c80ba3d5745e27dacd898156310e77c8 (patch)
treeb6108634a1976bc63458520706126798717026a3
parentMerge branch 'hotfix/v0.1.1' (diff)
parentBump VERSION (diff)
downloadvim-foldlevelstart-stdin-040ee022c80ba3d5745e27dacd898156310e77c8.tar.gz
vim-foldlevelstart-stdin-040ee022c80ba3d5745e27dacd898156310e77c8.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/foldlevelstart_stdin.txt2
-rw-r--r--plugin/foldlevelstart_stdin.vim4
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3087e91..90d50e5 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ standard input, which Vim doesn't do by default.
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/foldlevelstart_stdin.txt b/doc/foldlevelstart_stdin.txt
index 9ac8ab2..33a48f6 100644
--- a/doc/foldlevelstart_stdin.txt
+++ b/doc/foldlevelstart_stdin.txt
@@ -7,7 +7,7 @@ standard input, which Vim doesn't do by default.
REQUIREMENTS *foldlevelstart_stdin-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 |+folding| features, with the |StdinReadPre| event introduced in
|version7|.
diff --git a/plugin/foldlevelstart_stdin.vim b/plugin/foldlevelstart_stdin.vim
index f8e4d50..37caddc 100644
--- a/plugin/foldlevelstart_stdin.vim
+++ b/plugin/foldlevelstart_stdin.vim
@@ -5,13 +5,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_foldlevelstart_stdin') || &compatible
+if exists('loaded_foldlevelstart_stdin') || &compatible
finish
endif
if !has('autocmd') || !has('folding') || !exists('##StdinReadPre')
finish
endif
-let g:loaded_foldlevelstart_stdin = 1
+let loaded_foldlevelstart_stdin = 1
" Check if 'foldlevelstart' is non-negative, and set 'foldlevel' to its value
" if it is