darkvoid.nvim icon indicating copy to clipboard operation
darkvoid.nvim copied to clipboard

feat: Compatibility with leap.nvim

Open ficd0 opened this issue 1 year ago • 1 comments

When using leap.nvim, hints are not highlighted as expected which negatively affects the usability of the plugin with this color scheme.

Example:

Using darkvoid: image It's a bit hard to tell just from the screenshot, but vis and vif were both vim originally, and the s and f are the hints. As you can see, it's basically impossible to tell that they're hints without actually reading the whole word and seeing that the letter is wrong.

Using kanagawa theme, here's how it should look: image

I will take a look at implementing leap.nvim compatibility this weekend when I have some time. ~~Another thing I'd like to see is an option to have string literals be also highlighted in a subtle color -- really it's the last thing that's missing for me. I'll probably open a separate issue for that later.~~

Love the theme otherwise! I've always wanted to work on a theme but I was never sure where to start. Now that I see this foundation you've laid out, I'm bursting with ideas. Super excited to be on board, cheers!

EDIT: Just saw that there is an easy way to set the string color in the config. My bad!

ficd0 avatar Oct 31 '24 06:10 ficd0

Yes sure take care of the leap.nvim support for darkvoid.nvim.

Files you will have to change:

  • Make a new file leap.lua in plugins folder in which you will define the highlights and color to apply to those highlights from colors.lua.
  • config.lua : add name leap in plugins table
  • colors.lua: leap = true in plugins table
  • config.md: leap = true in plugins table

Aliqyan-21 avatar Oct 31 '24 13:10 Aliqyan-21