Mofiqul / dracula.nvim

Dracula colorscheme for neovim written in Lua
MIT License
594 stars 102 forks source link

listchars almost unreadable #94

Closed Janik-Haag closed 1 year ago

Janik-Haag commented 1 year ago

When doing something like set list listchars=tab:>\ ,trail:-,eol:$ vim will display eols, tabs and spaces. The SpecialKey chars like the $ at the eol are not really visible: image

Is there an easy way to fix this?

Mofiqul commented 1 year ago

@Janik-Haag you can override the NonText group in config

Janik-Haag commented 1 year ago

As far as I understand, this should work:

  vim.cmd[[colorscheme dracula]]
  local dracula = require("dracula")
  dracula.setup({
    colors = {
      nontext = "#f41100",
    }
  })

but dosn't: image

also in the read me there is nontext documented but you wrote NonText which one is correct? Doesn't really matter since I tried both but none worked

NoahTheDuke commented 1 year ago

Move the colorscheme call to after the setup, I believe.

Janik-Haag commented 1 year ago

Okay that fixed it, sorry for the trouble.