Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Galaxyline disappear for floating windows when laststatus=3 is set #37

Open
AkashKarnatak opened this issue Apr 4, 2022 · 0 comments · May be fixed by #41
Open

Galaxyline disappear for floating windows when laststatus=3 is set #37

AkashKarnatak opened this issue Apr 4, 2022 · 0 comments · May be fixed by #41

Comments

@AkashKarnatak
Copy link

This is what my statusline looks like

image

I have set laststatus=3. It is working fine for normal windows

image

but when I open a floating window then galaxyline disappears. For eg:

  • Telescope

image

  • Toggleterm

image

  • Packer Status

image

Seems like this problem persist only for floating windows.

image

image

Minimal configuration used
vim.o.laststatus=3
vim.o.ts = 2
vim.o.sw = 2
vim.o.expandtab = true
vim.o.termguicolors = true
vim.o.nu = true
vim.o.rnu = true
vim.o.showtabline = 2
vim.wo.signcolumn = "yes"

local packer = require('packer')

-- Have packer use a popup window
packer.init {
  display = {
    open_fn = function()
      return require("packer.util").float { border = "rounded" }
    end,
  },
}


packer.startup({function()
    use {
      "wbthomason/packer.nvim",
    }

    -- Theme
    use({
      'NTBBloodbath/doom-one.nvim',
      config = function()
        require('doom-one').setup {}
      end,
    })

    -- Fuzzy search
    use {
      "nvim-telescope/telescope.nvim",
      requires = {"nvim-lua/plenary.nvim"},
      config = function()
        require('telescope').setup {}
      end
    }

    use({
      "NTBBloodbath/galaxyline.nvim",
      -- your statusline
      config = function()
        require("galaxyline.themes.eviline")
      end,
      -- some optional icons
      requires = { "kyazdani42/nvim-web-devicons", opt = true }
    })

    -- terminal
    use {
      "akinsho/toggleterm.nvim",
      config = function()
        require("toggleterm").setup {
          -- direction = "float"
        }
      end
    }
    -- nvim-tree
    use {
      "kyazdani42/nvim-tree.lua",
      config = function()
        require'nvim-tree'.setup {}
      end
    }

end,
})
Nvim version
NVIM v0.7.0-dev+1333-g71b4c30ad
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant