From 7fdef85672cae60f370b6de512fbe86d7d4a1956 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 1 Aug 2018 19:47:00 +1200 Subject: Add missing abort attribute to plugin --- vim/plugin/foldlevelstart_stdin.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/plugin/foldlevelstart_stdin.vim b/vim/plugin/foldlevelstart_stdin.vim index 4edffb16..f8e4d50e 100644 --- a/vim/plugin/foldlevelstart_stdin.vim +++ b/vim/plugin/foldlevelstart_stdin.vim @@ -15,7 +15,7 @@ let g:loaded_foldlevelstart_stdin = 1 " Check if 'foldlevelstart' is non-negative, and set 'foldlevel' to its value " if it is -function! s:SetFoldlevel() +function! s:SetFoldlevel() abort if &foldlevelstart >= 0 let &l:foldlevel = &foldlevelstart endif -- cgit v1.2.3