bluz71 / vim-moonfly-colors

A dark charcoal theme for modern Neovim & classic Vim
MIT License
866 stars 65 forks source link

Statusbar and line indicator coloring off #12

Closed dcallea closed 3 years ago

dcallea commented 3 years ago

screenshot

I've configured my .vimrc as per instructions in the documentation but the statusbar background coloring seems off. This is both with lightline and the native status bar. My line indicator also does not get highlighted as shown in this screenshot: https://raw.githubusercontent.com/bluz71/misc-binaries/master/moonfly/ruby_moonfly.png Is it supposed to look this way, a bug, or a misconfiguration on my part?

bluz71 commented 3 years ago

The moonfly Lightline statusline is designed to look like that.

I designed it to mimic my moonfly-statusline statusline as seen here:

moonfly

All is as intended. Whether one likes the look will vary from person to person.

Best regards.

dcallea commented 3 years ago

My bad, it looked off for my eyes when compared with the vertical bar on the right. Do you might have a guess on what causes the line indicator on the left to not highlight like it does on your screenshot?

bluz71 commented 3 years ago

My line indicator also does not get highlighted as shown in this screenshot: https://raw.githubusercontent.com/bluz71/misc-binaries/master/moonfly/ruby_moonfly.png

The line indicator I believe is a Vim change, in my experience.

Do you use Vim or Neovim?

bluz71 commented 3 years ago

My bad, it looked off for my eyes when compared with the vertical bar on the right.

That vertical bar is the color column indicator. That is separate from status bar.

dcallea commented 3 years ago

Do you use Vim or Neovim?

I use Vim.

bluz71 commented 3 years ago

I use Vim.

I suspected so. Vim changed things a year or so ago. I use Neovim and that does not have that issue.

I think you need to do something like this:

set relativenumber
if exists('&cursorlineopt')
    set cursorlineopt=number
    set cursorline
endif
dcallea commented 3 years ago

I use Vim.

I suspected so. Vim changed things a year or so ago. I use Neovim and that does not have that issue.

I think you need to do something like this:

set relativenumber
if exists('&cursorlineopt')
    set cursorlineopt=number
    set cursorline
endif

That works perfectly, thank you. I appreciate all the work you put into your colorschemes (language theming etc.) they really are some of the best available and thought out ones.

bluz71 commented 3 years ago

Thank you, I appreciate that.

Hopefully your setup works a little better now.

Cheers.