Skip to content

Commit

Permalink
Do NOT set bufhidden=unload
Browse files Browse the repository at this point in the history
Let users decide whether to set `hidden` or not.

Close #510
  • Loading branch information
lambdalisue committed Oct 20, 2024
1 parent 2cf57c6 commit 6343e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/fern/internal/viewer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function! s:init() abort
\ FernReveal
\ call fern#internal#command#reveal#command(<q-mods>, [<f-args>])

setlocal buftype=nofile bufhidden=unload
setlocal buftype=nofile
setlocal noswapfile nobuflisted nomodifiable
setlocal signcolumn=yes
" The 'foldmethod=manual' is required to avoid the following issue
Expand Down

0 comments on commit 6343e73

Please sign in to comment.