rmagatti / auto-session

A small automated session manager for Neovim
MIT License
1.3k stars 46 forks source link

[BUG] Session lens picker is transparent by default while other telescope pickers are solid #279

Closed benjiwolff closed 7 months ago

benjiwolff commented 7 months ago

Describe the bug By default, the session picker seems to be transparent, making it hard to read when there is text behind it.

To Reproduce Steps to reproduce the behavior:

  1. Install telescope and auto-session with default settings. I am using lazy.nvim
    require("lazy").setup({
    {
        'nvim-telescope/telescope.nvim',
        dependencies = { 'nvim-lua/plenary.nvim' }
    },
    {
        'rmagatti/auto-session',
        opts = {},
    }
    })
  2. Restart nvim
  3. Type :lua=require('telescope.builtin').find_files(). This will show a picker with a solid background image
  4. Type :lua=require("auto-session.session-lens").search_session(). This will show a transparent picker image

Expected behavior The session picker has the same style as other telescope pickers unless configured otherwise.

benjiwolff commented 7 months ago

This might be related to #267.

rmagatti commented 7 months ago

Can't reproduce. This might be a theme thing, I'm using kanagawa and I'm also not setting any theme on the session picker in my config. The code for opening the session picker is here if you'd like to take a further look: https://github.com/rmagatti/auto-session/blob/main/lua/auto-session/session-lens/init.lua#L44

benjiwolff commented 7 months ago

I do not use a theme plugin, I just use :colortheme vim. Is it possible, that you cannot produce this issue because you are using a theme?