Closed Cyberczy closed 4 months ago
visible issues
{ "FileType", "alpha", "set showtabline=0" },
don't work
visible issues
{ "FileType", "alpha", "set showtabline=0" },
don't work
fixed in alpha.lua
vim.api.nvim_create_autocmd("User", {
pattern = "LazyVimStarted",
callback = function()
vim.o.showtabline = 0 -- this line
dashboard.section.footer.val = footer()
pcall(vim.cmd.AlphaRedraw)
end,
})
On my wsl2(archlinux), windows, archlinux I can only get 1~2ms
improvement after testing. This is really not necessary and can lead to some binding problems!
Just a suggestion lol
Try using lua concatenation to improve performance. This is how my xmake.lua
plugin went from 20ms->5ms
Agree with @Mythos-404, this improvement is limited. And current implementation is more readable. IMO the startup time is not the main issue now because less than 30ms is a value that is acceptable to most of humans. Thanks for your efforts.
Feature description
Before:
Now:
![image](https://github.com/ayamir/nvimdots/assets/109653523/70bb7bae-e775-4d6c-a1de-25f6ca5dd79c)
I made the following changes.
I don't know if this affects the normal use of nvimdots, can you take a look?
Additional information
No response