- 
                Notifications
    
You must be signed in to change notification settings  - Fork 220
 
Closed
Labels
Description
Image / video that shows the bug
Here below is telescope with nvim-web-devicons

Below is telescope without nvim-web-devicons

Steps to reproduce
- Copy 
init.luabelow 
Click to expand init.lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable",
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
  { "nvim-lua/plenary.nvim", },
  {
    "nvim-telescope/telescope.nvim",
    dependencies = {
      "nvim-lua/plenary.nvim",
    },
    config = function ()
      local telescope_action_layout = require("telescope.actions.layout")
      require("telescope").setup({
        defaults = {
          initial_mode = "insert",
          mappings = {
            n = {
              ["<M-/>"] = telescope_action_layout.toggle_preview,
            },
            i = {
              ["<M-/>"] = telescope_action_layout.toggle_preview,
            }
          },
          preview = {
            hide_on_startup = true,
            filesize_limit = 10,
            treesitter = true,
          }
        },
        fzf = {
          fuzzy = true,
          override_generic_sorter = true,
          override_file_sorter = true,
          case_mode = "smart_case",
        },
      })
    end,
  },
  {
    "kyazdani42/nvim-web-devicons",
    config = function()
      require("nvim-web-devicons").setup({
        default = true,
      })
    end,
  },
})
nvim -u ~/nvim-test-config/init.lua- let lazy install the plugins
 :Telescope find_filesand see that there are some floating texts- Comment 
nvim-web-deviconspart of lazy setup - Close nvim
 nvim -u ~/nvim-test-config/init.lua:Telescope find_filesand there are no floating texts anymore