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

Wrong syntax highlighting #12

Closed
travankor opened this issue Mar 14, 2020 · 8 comments
Closed

Wrong syntax highlighting #12

travankor opened this issue Mar 14, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@travankor
Copy link

2020-03-13-06:51:42PM

Left one is k3rmit, right one is a different terminal.
k3rmit has different syntax colors in neovim for some reason.

@orhun
Copy link
Owner

orhun commented Mar 14, 2020

I've faced the same problem with vim today. Here's what I found about it: https://askubuntu.com/questions/46535/vim-black-text-on-black-background

Can you try export TERM=xterm-color before starting vim?

@travankor
Copy link
Author

Nope, didn't fix it.

I wonder if this is related to the new vte3-0.60.0?

@orhun
Copy link
Owner

orhun commented Mar 14, 2020

It might be about that. Currently I'm using 2.91 and everything is fine after the export command above. I'll keep looking for a solution.

@orhun
Copy link
Owner

orhun commented Mar 14, 2020

:set background=dark didn't affect anything too, right?
how about export TERM=xterm-256color?

@travankor
Copy link
Author

None of those worked.

@travankor
Copy link
Author

travankor commented Mar 14, 2020

Actually :set background = dark works

Edit: well, partially works

I think set background = dark just inverts some of the colors?

@orhun
Copy link
Owner

orhun commented Mar 14, 2020

I'm not sure what does :set background = dark do but it's explained here: https://vi.stackexchange.com/questions/12104/what-does-set-background-dark-do

In this situation, it doesn't look like a solution for you.

@orhun orhun added the bug Something isn't working label Jun 23, 2020
@orhun
Copy link
Owner

orhun commented Jul 10, 2020

256 colors are supported with the v3.0 release. This will fix the issue.

@orhun orhun closed this as completed Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants