Skip to content

Commit ff5bcbf

Browse files
authored
Merge pull request #334 from lambdalisue/fix-331
Add 'foldmethod=manual' on fern buffer
2 parents 6096107 + 4e52032 commit ff5bcbf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/fern/internal/viewer.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ function! s:init() abort
4848
setlocal buftype=nofile bufhidden=unload
4949
setlocal noswapfile nobuflisted nomodifiable
5050
setlocal signcolumn=yes
51+
" The 'foldmethod=manual' is required to avoid the following issue
52+
" https://github.com/lambdalisue/fern.vim/issues/331
53+
setlocal foldmethod=manual
5154

5255
augroup fern_internal_viewer_init
5356
autocmd! * <buffer>

0 commit comments

Comments
 (0)