kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.18k stars 38 forks source link

How to make the gutter icons looks like in readme #120

Closed Aneeqasif closed 1 year ago

Aneeqasif commented 1 year ago

Feature description

so this how my current config looks like there are some things that i dont know how to configure being new to neovim image

1- how can i make those + , - icons looks like arrows as u showed 2- how can i make the background of preview window a bit light or darker , i dont want to apply a specific color cz i have to reconfigure it each time i change colorsheme so if it changes dynamically with colorscheme it will be ideal 3- make the background color of thin line behin + and - symbols in left side gutter of neovim the normal default background insread of the light background

Describe the solution you'd like

Additional context

No response

rockyzhang24 commented 1 year ago
  1. Please check this pinned issue https://github.com/kevinhwang91/nvim-ufo/issues/4

  2. To change the highlights of the preview window, you should use winhighlight. For example:

    ufo.setup({
    preview = {
    win_config = {
      -- Link the background highlight group of the preview window to the background of the editor
      winhighlight = 'Normal:Normal',
    },
    },
    })

    Regarding how to config winhighlight, please see :h 'winhighlight'. However, (neo)vim can not change highlights dynamically. To set a highlight, either define a new highlight group or link to an existing one. See :h highlight.

  3. Set this FoldColumn highlight group. See :h hl-FoldColumn and :h nvim_set_hl().