ibhagwan / fzf-lua

Improved fzf.vim written in lua
MIT License
2.28k stars 149 forks source link

nvim-web-devicons overrides not working in fzf-lua #386

Closed doongjohn closed 2 years ago

doongjohn commented 2 years ago

Info

fzf-lua configuration ```lua require('fzf-lua').setup({ }) ```

Description

nvim-web-devicons override works with Telescope but not fzf-lua

require'nvim-web-devicons'.setup {
  override = {
    nim = {
      icon = "",
      color = "#f3d400",
      cterm_color = "220",
      name = "Nim",
    },
    nims = {
      icon = "",
      color = "#f3d400",
      cterm_color = "220",
      name = "NimScript",
    },
    nimble = {
      icon = "",
      color = "#f3d400",
      cterm_color = "220",
      name = "Nimble",
    },
}

Telescope: image

fzf-lua: image

ibhagwan commented 2 years ago

Duplicate #311.

Either set multiprocess=false or set _devicons_setup as explained in the wiki

ibhagwan commented 1 year ago

FYI, https://github.com/ibhagwan/fzf-lua/commit/604eadfcf69b90cf9e508767ad217107520ce4d4 - this commit makes the additional setup step unnecesary, overrides should works seamlessly now.