Skip to content

Commit bc27c7c

Browse files
committed
Fix for startify (doesn't set a buftype)
1 parent 09487f6 commit bc27c7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/skeleton.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ endif
2121

2222
augroup sigma_skeleton
2323
au!
24-
autocmd BufEnter * silent! if &buftype=='' | call skeleton#load(expand('%:p')) | endif
24+
autocmd BufEnter * silent! if &buftype == '' && &ft != 'startify' && &ft != 'dashboard' | call skeleton#load(expand('%:p')) | endif
2525
augroup END

0 commit comments

Comments
 (0)