Skip to content

Question: what vim setting do I need to show the output correctly inside vim? #179

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

Open
kgfly opened this issue Sep 18, 2019 · 2 comments
Open

Comments

@kgfly
Copy link

kgfly commented Sep 18, 2019

This is a not bug report or feature request.

(Not sure if anyone runs leetcode command inside vim or not.)

In my vim, I run "!leetcode test %", here is my observation:

image

I added these options

set encoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8
set termencoding=utf-8

to .vimrc.

However, still not working. Chars are still not readable.

Thanks.

@skygragon
Copy link
Owner

@9527KGG Have you tried disable coloring by adding "--no-color" parameter?

@kgfly
Copy link
Author

kgfly commented Sep 29, 2019

Gave a try. The issue still repro. Thanks.

I think the issue is related with font encoding, not color.

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

No branches or pull requests

2 participants