Git Product home page Git Product logo

Comments (8)

txtyash avatar txtyash commented on September 2, 2024 1

Ok, let's try debugging further.

First, just to be sure, could you please check that you indeed using the latest main branch? The best way to do this is to look at the code of 'mini.starter' module (should be in 'lua/mini/starter.lua' subdirectory of where 'mini.nvim' plugin is installed) and see that these lines are present.

If it is indeed latest, could you please set explicitly vim.o.showtabline = 2 before calling require('mini.starter').setup() and see if it fixes this issue.

I'm very sorrry. I was using the stable branch. The problem is fixed. Thankyou!

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

I can't reproduce. Installed 'akinsho/bufferline.nvim', replaced require('mini.tabline').setup() with require('bufferline').setup({}) and everything works. Maybe the issue with your setup? Like lazy loading, etc. Could you track this down to a minimal 'init.lua'?

from mini.nvim.

txtyash avatar txtyash commented on September 2, 2024

I have been able to track it down. Issue occurs when mini.starter is enabled.

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

Do you mean that bufferline is not shown inside Starter buffer or it is not shown after it also? The first one is intended behavior (don't show tabline when Starter buffer is open). The second one I also can not reproduce: after Starter buffer is closed, bufferline appears.

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

I finally was able to reproduce, so thanks for this interesting find! It seems like you didn't explicitly set showtabline option to 2 (meaning "show always"), which I, for some weird reason, assumed anyone would do :) Instead, 'bufferline.nvim' sets it for you, which happens during Starter buffer being opened. I updated logic and tested, which seemed to work. Could you, please, test with latest main branch?

from mini.nvim.

txtyash avatar txtyash commented on September 2, 2024

I finally was able to reproduce, so thanks for this interesting find! It seems like you didn't explicitly set showtabline option to 2 (meaning "show always"), which I, for some weird reason, assumed anyone would do :) Instead, 'bufferline.nvim' sets it for you, which happens during Starter buffer being opened. I updated logic and tested, which seemed to work. Could you, please, test with latest main branch?

I updated everything but for some reason I still face the same issue where commenting out

require("mini.starter").setup()

prevents bufferline from starting.

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

Ok, let's try debugging further.

First, just to be sure, could you please check that you indeed using the latest main branch? The best way to do this is to look at the code of 'mini.starter' module (should be in 'lua/mini/starter.lua' subdirectory of where 'mini.nvim' plugin is installed) and see that these lines are present.

If it is indeed latest, could you please set explicitly vim.o.showtabline = 2 before calling require('mini.starter').setup() and see if it fixes this issue.

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

Not a problem. You are not the first one and, probably, not the last :)

from mini.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.