tiagovla / tokyodark.nvim

A clean dark theme written in lua for neovim.
453 stars 19 forks source link

flash.nvim highlights are of same colors #21

Closed niksingh710 closed 1 year ago

niksingh710 commented 1 year ago

if using flash.nvim plugin and using f key to highlight the occurence of a character the current position of cursor color is same while jumping on the next occurence.

tiagovla commented 1 year ago

@niksingh710 Could you test the changes?

niksingh710 commented 1 year ago

@niksingh710 Could you test the changes?

Every highlight matching the character is of the same color including the cursor, so moving the cursor to the next occurrence make it impossible to know the location of the cursor

tiagovla commented 1 year ago

@niksingh710 Could you test the changes?

Every highlight matching the character is of the same color including the cursor, so moving the cursor to the next occurrence make it impossible to know the location of the cursor

This is how it looks for me: image

Could you try it on another terminal? The cursor should be inverted.

niksingh710 commented 1 year ago

image This is how it looks to me.

i opened my config then pressed f and r now if i keep pressing f to go to next occurrence of r character it's impossible to find where the cursor is.

Here the same in tokyonight image image in both e.g of tokyonight the current position of cursor is highlighted by different colour.

niksingh710 commented 1 year ago

vim.g.tokyodark_transparent_background = true
vim.g.tokyodark_enable_italic_comment = true
vim.g.tokyodark_enable_italic = true
vim.g.tokyodark_color_gamma = "1.0"

few settings i am using for tokyonight. forgot to mention earlier

niksingh710 commented 1 year ago

Could you try it on another terminal? The cursor should be inverted.

Just tried with alacritty working fine but not on foot terminal have to figure out why it is happening.

niksingh710 commented 1 year ago

Fixed it.

If someone else stumbles over this using foot. make sure you have manually setted cursor color in foot.ini e.g

[cursor]
style=beam
color=421a38 000000  # foreground background
blink=yes