diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 17:41:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 17:41:08 +1200 |
commit | a779a153dbd8cf6e6aaf0836bc6e5dfae17c0c66 (patch) | |
tree | f98ee4eafa0fb0683a8eedca3ef43ad5d7ee86c4 | |
parent | Switch to two-spacing (diff) | |
download | vim-foldlevelstart-stdin-a779a153dbd8cf6e6aaf0836bc6e5dfae17c0c66.tar.gz vim-foldlevelstart-stdin-a779a153dbd8cf6e6aaf0836bc6e5dfae17c0c66.zip |
Remove unneeded variable scoping
-rw-r--r-- | plugin/foldlevelstart_stdin.vim | 4 |
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 |