rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.
MIT License
1.44k stars 47 forks source link

Lush not consistantly using CursorLineNr element #95

Closed OddBread closed 2 years ago

OddBread commented 2 years ago

Even after defining a CursorLineNr in my lush config file, it does not appear to want to use it for some reason. It shows up as if it was defined correctly, but when i try to go into something with neovim. .. g2lg4l the color of the line does not change.

Weirdly enough, if i try to use my file browser, which is currently fern... tbynf1 the highlighting works fine.

Currently, I'm using urxvt with a truecolor patch as my terminal, but I've tried with other terminals such as terminator and had the same results. The colorscheme is set right at the top of my init.lua, right after enabling truecolor. I'm not quite sure if this is an issue with lush, or if I just did something wrong when setting up lush/neovim.

rktjmp commented 2 years ago

Not sure, I can't reproduce the errant behaviour here. For what its worth, I set my colorscheme pretty late, almost last in my config, potentially there is a plugin that might be doing some thing funny with the CursorLineNr group?

Do you get the issue with a minimal config of just lush and your scheme?

OddBread commented 2 years ago

Not sure, I can't reproduce the errant behaviour here. For what its worth, I set my colorscheme pretty late, almost last in my config, potentially there is a plugin that might be doing some thing funny with the CursorLineNr group?

Do you get the issue with a minimal config of just lush and your scheme?

oh my god, I'm an idiot... I didnt know you had to use ':set cursorline' to get the cursorline/linenr highlighting to work. sorry about that, I'm still getting comfortable setting up neovim.

rktjmp commented 2 years ago

No worries, Have fun!