orhun / kermit

A VTE-based, simple and froggy terminal emulator 🐸
GNU General Public License v3.0
134 stars 8 forks source link

Wrong syntax highlighting #12

Closed travankor closed 4 years ago

travankor commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Nope, didn't fix it.

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

orhun commented 4 years ago

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 commented 4 years ago

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

travankor commented 4 years ago

None of those worked.

travankor commented 4 years ago

Actually :set background = dark works

Edit: well, partially works

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

orhun commented 4 years ago

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 commented 4 years ago

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