X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/32a180d2d9ce65bca5e463d42c3e6d6ab918b8b7..3c22fe5c28e8f2e06bc608be2d78b580ffd2fefb:/vim/ftplugin/cpp.vim?ds=inline diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index a8c9a51..7984c68 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -80,7 +80,7 @@ function! InitialFoldLevel() let v:errmsg = "" keepjumps keeppatterns silent! 1,/}/s/^\(namespace\|class\) \+[^;]*$//n if v:errmsg == "" - let &foldlevel=str2nr(split(v:statusmsg)[0]) + let &l:foldlevel=str2nr(split(v:statusmsg)[0]) endif endf call InitialFoldLevel()