ofirgall/ofirkai.nvim

Cursor Line Number Color not working as yellow

gautampanchal94 opened this issue · 8 comments

I am using Alacritty Termianl with neovim 0.8. I want to change Cursor Line Number color, but it seems it's not working.

Screenshot

Can you share your setup of ofirkai?

I have used packer for installing.
ScreenShot

I have tried to change LineNr but it changes all LineNumber color.

You need to override CursorLineNr instead.

Still Not working!
2022-12-17 19 26 43

image
Works on my machine, can you try to upgrade your nvim?

I tried it still not working. Maybe there is some other issue.

Thank you for your help.

Found the issue @gautampanchal94 ! The file colors/ofirkai.vim has the instruction :

lua require('ofirkai').setup({})

The setup function is then called twice, once with your config and another time with an empty config. I don't know why 'scheme' is working but not 'custom_hlgroups', maybe because 'scheme' is using a table whereas 'hl_groups' is a function.

Anyway, my quick fix is to comment this instruction (keep that file tho even empty, It will break otherwise, don't ask me why haha).

I am using packer.nvim, so I guess you should find it at $HOME/.local/share/nvim/site/pack/packer/start/ofirkai.nvim/colors/ofirkai.vim

Okay. Thank you for this.