Skip to content

Commit f29c85a

Browse files
Merge pull request #276 from nickspoons/fix-fold-open-error
Suppress "No fold found" with :silent!
2 parents a5ff8bd + b761f52 commit f29c85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/db_ui.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ augroup dbui
119119
autocmd!
120120
autocmd BufRead,BufNewFile *.dbout set filetype=dbout
121121
autocmd BufReadPost *.dbout nested call db_ui#save_dbout(expand('<afile>'))
122-
autocmd FileType dbout setlocal foldmethod=expr foldexpr=db_ui#dbout#foldexpr(v:lnum) | normal!zo
122+
autocmd FileType dbout setlocal foldmethod=expr foldexpr=db_ui#dbout#foldexpr(v:lnum) | silent! normal!zo
123123
autocmd FileType dbout,dbui autocmd BufEnter,WinEnter <buffer> stopinsert
124124
augroup END
125125

0 commit comments

Comments
 (0)