todo-comments.nvim icon indicating copy to clipboard operation
todo-comments.nvim copied to clipboard

feature: custom font color instead backgound colors

Open MichaelC001 opened this issue 2 years ago • 4 comments

Did you check the docs?

  • [X] I have read all the todo-comments.nvim docs

Is your feature request related to a problem? Please describe.

I use the transparent background in Neovim, so the default background color highlight is not working. but if I could change the font color from default black to red or something, it could still be helpful for me. thank you

Describe the solution you'd like

custom font color

Describe alternatives you've considered

--

Additional context

No response

MichaelC001 avatar Apr 22 '23 01:04 MichaelC001

Set option highlight.keyword = 'fg'. Should close.

b0ae989c avatar Jun 15 '24 21:06 b0ae989c

Like this? Can't speak for the op but unless I'm missing something that was the first thing I tried. fg sets the background color, not the foreground text itself.

CleanShot 2024-06-19 at 15 11 33@2x

ChristinWhite avatar Jun 19 '24 22:06 ChristinWhite

No. It's the option highlight.keyword as in

{
  "folke/todo-comments.nvim",
  dependencies = { "nvim-lua/plenary.nvim" },
  opts = {
    highlight = {
      keyword = 'fg',
    },
  },
}

b0ae989c avatar Jun 19 '24 22:06 b0ae989c

Interesting, not quite was I was personally hoping for but that's another nice option. Thank you!

ChristinWhite avatar Jun 19 '24 23:06 ChristinWhite

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 20 '24 01:07 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jul 27 '24 01:07 github-actions[bot]