diff --git a/autoload/fern/internal/viewer.vim b/autoload/fern/internal/viewer.vim index 1445d45..b9ed964 100644 --- a/autoload/fern/internal/viewer.vim +++ b/autoload/fern/internal/viewer.vim @@ -48,6 +48,9 @@ function! s:init() abort setlocal buftype=nofile bufhidden=unload setlocal noswapfile nobuflisted nomodifiable setlocal signcolumn=yes + " The 'foldmethod=manual' is required to avoid the following issue + " https://github.com/lambdalisue/fern.vim/issues/331 + setlocal foldmethod=manual augroup fern_internal_viewer_init autocmd! *