Skip to content

Commit ffef6aa

Browse files
committed
Do NOT remove autocmd on other buffers: Fix #143
1 parent 6410215 commit ffef6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/fern/internal/viewer.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function! s:init() abort
3030
setlocal signcolumn=yes
3131

3232
augroup fern_viewer_internal
33-
autocmd!
33+
autocmd! * <buffer>
3434
autocmd BufEnter <buffer> setlocal nobuflisted
3535
autocmd BufReadCmd <buffer> ++nested call s:BufReadCmd()
3636
autocmd ColorScheme <buffer> call s:ColorScheme()

0 commit comments

Comments
 (0)