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

[bug]: doesn't work on native windows 11 with LazyVim #627

Open
0xJWLabs opened this issue Nov 10, 2024 · 2 comments
Open

[bug]: doesn't work on native windows 11 with LazyVim #627

0xJWLabs opened this issue Nov 10, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed needs-repro Minimal reproduction is needed.

Comments

@0xJWLabs
Copy link

Description

So my bufferline doesn't work on LazyVim with native windows 11, is there any way to fix it? But it does load when I check with :Lazy

To Reproduce

tabline.lua

return {
  {
    "akinsho/bufferline.nvim",
    enabled = false,
  },
  {
    "romgrk/barbar.nvim",
    event = "VeryLazy",
    init = function()
      vim.g.barbar_auto_setup = true
    end,
    config = function()
      require("barbar").setup({
        animation = true,
        auto_hide = false,
        tabpages = true,
        clickable = true,
        focus_on_close = "left",
        highlight_alternate = false,
        highlight_inactive_file_icons = false,
        highlight_visible = false,
        icons = {
          buffer_index = false,
          buffer_number = false,
          button = "×",
          diagnostics = {
            [vim.diagnostic.severity.ERROR] = { enabled = true },
            [vim.diagnostic.severity.WARN] = { enabled = true },
            [vim.diagnostic.severity.INFO] = { enabled = true },
            [vim.diagnostic.severity.HINT] = { enabled = true },
          },
          gitsigns = {
            added = { enabled = true, icon = "[+]" },
            changed = { enabled = true, icon = "[~]" },
            deleted = { enabled = true, icon = "[-]" },
          },
          filetype = {
            custom_colors = false,
            enabled = true,
          },
          separator = { left = "", right = "" },
          separator_at_end = false,
          modified = { button = "" },
          pinned = { button = "", filename = true },
          preset = "default",
          alternate = { filetype = { enabled = false } },
          current = { buffer_index = false },
          inactive = { button = "×" },
          visible = { modified = { buffer_number = false } },
        },
        insert_at_end = false,
        insert_at_start = false,
        maximum_padding = 1,
        minimum_padding = 1,
        maximum_length = 30,
        minimum_length = 0,
        semantic_letters = true,
        sidebar_filetypes = {
          ["neo-tree"] = {
            event = "BufWipeout",
            text = "Explorer",
            align = "left",
          },
        },

        letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP",

        no_name_title = nil,
      })
    end,
  },
}

Informations
Neovim version: v0.11.0-dev-1092+g0da4d89558

Proof
https://github.com/user-attachments/assets/e62ecd74-8227-4a70-b2c4-ca2314a70020

@0xJWLabs 0xJWLabs changed the title [bug]: doesn't work on native windows with LazyVim [bug]: doesn't work on native windows 11 with LazyVim Nov 10, 2024
@romgrk
Copy link
Owner

romgrk commented Nov 22, 2024

I don't think I can debug this, I don't have a windows 11 machine to test with. Have you tried enabling barbar manually with :BarbarEnable? What's the output? Do the barbar modules show something, e.g. :=require('barbar.state')?

Is the event = 'VeryLazy' preventing it from loading?

@Iron-E Iron-E added help wanted Extra attention is needed needs-repro Minimal reproduction is needed. bug Something isn't working labels Nov 23, 2024
@exzolink
Copy link

exzolink commented Dec 2, 2024

lazy = false instead of event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed needs-repro Minimal reproduction is needed.
Projects
None yet
Development

No branches or pull requests

4 participants