aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-01 19:47:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-01 19:47:00 +1200
commit7fdef85672cae60f370b6de512fbe86d7d4a1956 (patch)
tree2bc75112240d11895273f40dbc9debd63490eb78
parentd1f74490f0475165a6744d9d01cbbb1862c182f6 (diff)
downloaddotfiles-7fdef85672cae60f370b6de512fbe86d7d4a1956.tar.gz
dotfiles-7fdef85672cae60f370b6de512fbe86d7d4a1956.zip
Add missing abort attribute to plugin
-rw-r--r--vim/plugin/foldlevelstart_stdin.vim2
1 files changed, 1 insertions, 1 deletions
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