diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-28 23:08:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-28 23:08:54 +1200 |
commit | 6f89b6449fc2a33427d0cb8257c227cef98a64a0 (patch) | |
tree | 0fa8934067dc8cef68ca2a62a521b66b6ca59ea9 | |
parent | Merge branch 'release/v1.0.0' into develop (diff) | |
download | vim-foldlevelstart-stdin-6f89b6449fc2a33427d0cb8257c227cef98a64a0.tar.gz vim-foldlevelstart-stdin-6f89b6449fc2a33427d0cb8257c227cef98a64a0.zip |
Don't attempt to apply gloval value of 'foldlevel'
-rw-r--r-- | plugin/foldlevelstart_stdin.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/foldlevelstart_stdin.vim b/plugin/foldlevelstart_stdin.vim index 7e3531c..5fe7454 100644 --- a/plugin/foldlevelstart_stdin.vim +++ b/plugin/foldlevelstart_stdin.vim @@ -14,5 +14,5 @@ let loaded_foldlevelstart_stdin = 1 augroup foldlevelstart_stdin autocmd! autocmd StdinReadPre * - \ let &l:foldlevel = max([&foldlevelstart, &g:foldlevel, 0]) + \ let &l:foldlevel = max([&foldlevelstart, 0]) augroup END |