Closed bfxfer closed 3 months ago
Would you mind sharing your .vimrc
and the terminal you are using?
I found that in different terminals with the same settings the highlights were different for the Spell group, now it should be fixed
Looks better after applying https://github.com/catppuccin/vim/commit/e4e612c26902de31b0ba5c8ff826230071b6387c. Thanks!
But, now the the cursorline highlight colour makes the rest of the highlighted words illegible.
Consider the following test file which illustrates the issue.
// vim: spell spelllang=en_gb norelativenumber cursorline
// Some comments here.
//
// TODO: check how this line looks w/ and w/out cursorline.
// FIXME: same as above
//
// bad speling standalone good
//
// bad speling standalone good
//
// Bad spelling stand-alone good
#include <stdio.h>
int main(void)
{
printf("Test catppuccin colours\n");
}
Lines 5 and 6 has TODO
/FIXME
markers which are highlighted in yellow. Lines 8 and 10 has words with incorrect spelling, incorrect capitalization, etc.
Screeshots below (macchiato theme) are with cursorline at different lines as described in this table:
image | cursorline position |
---|---|
left | blank line |
middle | TODO |
right | bad spelling |
How the lines look with https://github.com/catppuccin/vim/commit/e4e612c26902de31b0ba5c8ff826230071b6387c
TODO
, the word is almost invisibleHow the lines look with this patch
With this patch:
TODO
is visible with cursorline (could be improved?)Can we make this any better?
The comments are too bright in your version, looking at the catppuccin neovim repo it seems that they are now using overlay0
instead of surface2
, so this can be changed, as for the cursorline overwriting the colors I don't think anything can be done.
This is how it would look like with overlay0
on comments:
I am using vim 8.0.1763 on RHEL 8.8. Colour scheme is
catppuccin_macchiato
.The different spell check highlights are not legible. The highlighted text is illegible in all dark variants -- frappe, macchiato, and mocha. Frappe looks better though. The screeshot below was with
:setlocal spell spelllang=en_gb
.Macchiato:
Latte:
What's required to make the text legible?
Thanks!