Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows上小さなファイルのプレビューを見ようとするとバイナリだとおこられます #13

Closed
mirachan010 opened this issue Jun 2, 2021 · 1 comment

Comments

@mirachan010
Copy link
Contributor

vim8.2.2927
Windows 21H1 OSビルド19043.985

最小構成
~/test/fern.vim
~/test/fern-preview.vim
にそれぞれをclone

vimrc

set encoding=utf-8
scriptencoding utf-8
set fileencoding=utf-8
set rtp+=~/test/fern.vim
set rtp+=~/test/fern-preview.vim

augroup VimrcFern
	autocmd!
	autocmd FileType fern nmap <silent> <buffer> p     <Plug>(fern-action-preview:auto:toggle)
augroup END
let mapleader = "\<Space>"
nnoremap <leader>f <cmd>Fern . -drawer -toggle<CR>

この状態でどのファイルをプレビューしようともBinary fileと言われてしまいプレビューを閲覧することができません
image

@yuki-yano
Copy link
Owner

In the meantime, I removed the binary detection logic to deal with it.
I will consider the implementation again.
6315af4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants