aboutsummaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
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
Diffstat (limited to 'plugin')
-rw-r--r--plugin/foldlevelstart_stdin.vim4
1 files changed, 2 insertions, 2 deletions
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