Comments (8)
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 callingrequire('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.
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.
I have been able to track it down. Issue occurs when mini.starter is enabled.
from mini.nvim.
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.
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.
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 latestmain
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.
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.
Not a problem. You are not the first one and, probably, not the last :)
from mini.nvim.
Related Issues (20)
- New mini.cmdline module to show UI like folke/noice.nvim HOT 1
- MiniSession.read() not triggering tree-sitter highlighting inside an autocommand HOT 2
- arrow.nvim like functionality to jump to specific file. HOT 3
- Can't change filetype (htmldjango) icon HOT 1
- suggestion: use `vim.g.terminal_color_*` to highlight mini.icons by default if they're set HOT 1
- mini.files doesn't follow symlinks HOT 4
- Error executing lua when using bracketed's treesitter jumps HOT 2
- Folder icons like .git do not look any different from other, yaml and yml files have exclamation mark as icon HOT 2
- mini.files bad argument #1 to 'fs_read' (number expected, got nil) in Windows 11 HOT 9
- Surround Delays Visual Mode Yank HOT 1
- mini.files: Allow to open mini.files with terminal buffer HOT 2
- mini.pick: Cursor disappears when switching files using picker HOT 10
- mini.git: add `--stat --patch` to `show_at_cursor()` HOT 2
- Mini.files lags a bit when navigating over directories with a decent amount of files HOT 20
- `permanent_delete = false` not working with `windows` when deleting files from a different drive of `stdpath('data')` HOT 9
- mini.sessions get error when use nui instead of vim.ui.select HOT 1
- mini.diff reset hunk when invoked does not track cursor position. HOT 1
- mini.undotree HOT 1
- Keywords like local and function are not highlighted in mini.hues colorscheme HOT 3
- mini.regex, mini.startuptime, mini.indentlines, mini.rainbow HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mini.nvim.