Comments (12)
and what happens when you have tabufline not lazyloaded?
from ui.
I have this in my chadrc
:
["NvChad/ui"] = {
override_options = {
tabufline = {
lazyload = false,
overriden_modules = nil,
},
},
},
which, I think, should disable lazy loading? From the documentation it sounds like lazy means the tabufline won't be shown if there's only a single buffer open. But it does show the tabufline for me, just with only one buffer.
Looks like this is related to / a duplicate of NvChad/NvChad#1277. I see there's a couple of related commits, which I guessed fixed the issue (it was indeed working correctly for me until updating NvChad yesterday), but I guess something broke again, either here or in a recent nvim version?
from ui.
tabufline shows multiple buffers if multiple files are opened with nvim
vid.mp4
from ui.
Yes. This works for me as well. The issue only appears when sourcing a session file:
from ui.
@lll9p can you look into this? I got no clue
from ui.
@charludo, this is not a NvChad related issue, this is with nvim, and no matter what config are you using, I had the same problem in the past, but this solve my problems: https://github.com/natecraddock/sessions.nvim
from ui.
@jtuz probably, but if it doesnt happen with other bufferline plugins then we will have to fix our tabufline too
from ui.
@charludo, this is not a NvChad related issue, this is with nvim, and no matter what config are you using, I had the same problem in the past, but this solve my problems: https://github.com/natecraddock/sessions.nvim
Are you sure? I have done some further testing, and it turns out the buffers are loaded (I can cycle them with e.g. :bprevious
, and make all of them appear with :bufdo e
). It seems they simply aren't being displayed until some event affects them (cycling, reloading, closing the currently displayed one).
from ui.
@charludo do the buffers show with bufferline.nvim plugin? ( disable tabufline temporarily for testing )
from ui.
@charludo do the buffers show with bufferline.nvim plugin? ( disable tabufline temporarily for testing )
Yes, they do!
Seeing as everything worked perfectly up until a couple of days ago, I have a hunch this might have been broken in #33?
from ui.
@lll9p watchout
from ui.
@lll9p watchout
Sorry for not replying in time. To identify a buf's validation is complicated and it is difficult to test all situations. I think we need more test on different situations.
For this Issue, I have proposed a PR, please review, thanks!
from ui.
Related Issues (20)
- Is there any way to get just the **tabufline** module as a plugin? HOT 2
- How to use as a plugin HOT 2
- sign_define is deprecated. HOT 6
- :MasonInstallAll command wrong implementation after last update HOT 1
- :MasonInstallAll command wrong implementation after last update
- Artifacts on latest version on a Mac HOT 2
- MasonInstallAll: only the first linter for each filetype is installed
- Theme switcher changes key in the changed_themes table resulting in errors HOT 3
- Statusline should show the current pwd in nvim-tree rather than what neovim entered in HOT 2
- buffer appearing in terminal HOT 13
- Cursor jumps to lsp.signature HOT 3
- nvchad.term Documentation HOT 1
- When trying to close a buffer while the current buffer is terminal the terminal closes instead of that buffer
- Not an editor command: MasonInstallAll HOT 3
- chadrc options not applying HOT 9
- Toggle dark/light theme bttn not working propperly HOT 2
- Make lsp signature help on insert message silent HOT 3
- Statusline - lsp_msg and lsp icons not showing HOT 1
- tabufline: close_buffer could open the last used buffer, not the last in the list?
- Types not recognised HOT 9
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 ui.