I've tried dozens of different themes but always get wrong coloring.

For example:

This is how vim-afterglow should look with LaTeX code.

This is mine screenshot:

enter image description here

This is example for Python. And this is mine:

enter image description here

Colors are wrong for all themes I've tried: afterglow, dracula, darcula, etc.

I've tried different tweaks like setting t_Co to different values, setting $TERM to different values, combining previous tweaks.

I've tried different terminals: gnome-terminal, tilda, xterm, tilix, st and xfce4-terminal.

I use Ubuntu 16.04, nvim v0.3.4


This is how dracula should look like.

My screenshot:

enter image description here


1) function name, var and this keywords are grey but should have different colors as on authors screen.

2) function keyword is green but should be cyan

3) Current line number is not highlighted

4) Line numbers color is blue but not grey

5) Other colors are not exactly as on screenshot

UPD 2:

I've used this command to test 256 color support.

My output:

enter image description here

UPD 3:*

Screenshot with pangloss/vim-javascript installed:

enter image description here

  • 2
    You probably need a terminal that supports 256 color. Make sure truecolor (termguicolors) is not interfering. I maintain dracula—what is not working? – D. Ben Knoble May 15 '19 at 15:23
  • 1
    At a second guess, the colors may be being dumbed down for term support as well as potentially highlighting syntax groups not recognized by your vim. I suggest speaking yo afterglow’s mainters – D. Ben Knoble May 15 '19 at 16:12
  • @D.BenKnoble I've added screen and described problems I have with dracula – danielleontiev May 15 '19 at 16:30
  • from experience i can safely say that part of the problem is vim’s default js syntax sucks. I think i use pangloss/vim-javascript (or similar name) on github to fix that. – D. Ben Knoble May 15 '19 at 16:51
  • 1
    @D.BenKnoble ok, I will create new issue, thank you – danielleontiev May 15 '19 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.