No tabline when opening neovim

22 views
Skip to first unread message

Rubin Simons

unread,
Jun 1, 2024, 7:51:08 AMJun 1
to SpaceVim
Hi SpaceVim people,

I am trying out SpaceVim with vim9 and neovim. In vim9, I have at the top a tabbar that shows open buffers which is really convenient, I like it.

In neovim, I initially, on the empty buffer, don't see this line. Instead I see something I think is called startify, and nerdtree opened by default and no tabline - when I open a file the tabline appears and looks exactly like it does in vim9.

So two questions:

1. Is the tabline not appearing in nvim a bug with spacevim icw neovim 0.10 possibly?
2. How do I, like in vim9, not have the filetree/nerdtree open by default and have just an empty buffer instead of the startify thing? Why does the startify thing not show up in vim9?

Much kind regards + thanks for a great config/distro.. btw, the documentation is INSANELY good, thanks a bunch!

Rubin!

Eric Wong

unread,
Jun 2, 2024, 10:09:22 AMJun 2
to spacevim
Hi Rubin,

can you provide a reproduce step from command line? I can not reproduce this issue.

The tabline plugin should work same in neovim and vim. It shows the tabs or buffers. If there are more than one tabs. the tabline will show tabs instead of buffer.

Rubin

unread,
Jun 2, 2024, 1:18:55 PMJun 2
to spac...@googlegroups.com
Hi Eric,

I've attached my init.toml and two screengrabs, one showing vim behaving normally, and one showing nvim, which does not show the tabline like vim does, until you open a file.

Vim version:
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 26 2024 00:11:37)
Included patches: 1-445

Neovim version:
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478

I'm on Arch Linux (btw). Hope this is helpful, let me know if you require other output!


Rubin!

PS: Do you accept pull-requests? I was thinking of making that F11 behaviour more cross-platform friendly that I mentioned on Discord
> --
> You received this message because you are subscribed to a topic in the Google Groups "SpaceVim" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/spacevim/Dsvg-hBuNug/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to spacevim+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spacevim/SY7P282MB43616A7D8B97E609291B7134D4FE2%40SY7P282MB4361.AUSP282.PROD.OUTLOOK.COM.
init.toml
vim-tabline-always.webm
nvim-no-tabline-when-no-files-open.webm

Eric Wong

unread,
Jun 3, 2024, 10:46:20 AMJun 3
to spacevim
Ok, I got it ,it seems a bug, when start vim/nvim without filename, the welcome screen should be opend, it contains startify and filetree.

in the img, when you are using vim, it does not open startify, instead it open a new buffer, the name of this buffer is empty string, and the buffer's `&buflisted` option is true, so it will be listed on tabline as `No Name`.

what is your vim and neovim's version?

Rubin

unread,
Jun 3, 2024, 11:31:51 AMJun 3
to spac...@googlegroups.com
Hi Eric,

It’s:

Vim version:
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 26 2024 00:11:37)
Included patches: 1-445

Neovim version:
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478

Kind regards,

Rubin!
--
You received this message because you are subscribed to a topic in the Google Groups "SpaceVim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spacevim/Dsvg-hBuNug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spacevim+u...@googlegroups.com.

Eric Wong

unread,
Jun 3, 2024, 11:34:59 AMJun 3
to spacevim
You can use `SPC h L` to checkout the runtime line, there is something about the startup, for me it is:

```
[ SpaceVim ] [23:32:58:227] [ Info ] v:argv is:['D:\Scoop\apps\neovim\current\bin\nvim.exe', '--embed']
[ SpaceVim ] [23:32:58:227] [ Info ] startup status:[0]
[ SpaceVim ] [23:32:58:227] [ Info ] Startup with no argv, current dir is used: ~\.SpaceVim

```

Rubin

unread,
Jun 3, 2024, 2:40:21 PMJun 3
to spac...@googlegroups.com
Hi Eric,


nvim:
[ SpaceVim ] [20:34:11:082] [ Info ] v:argv is:['nvim', '--embed']
[ SpaceVim ] [20:34:11:082] [ Info ] startup status:[0]
[ SpaceVim ] [20:34:11:082] [ Info ] Startup with no argv, current dir is used: ~

gvim:
[ SpaceVim ] [20:29:55] [ 0.031] [ Info ] v:argv is:['/usr/bin/gvim', '--servername', 'VIM']
[ SpaceVim ] [20:29:55] [ 0.031] [ Info ] startup status:[2, ['/usr/bin/gvim', '--servername', 'VIM']]
[ SpaceVim ] [20:29:55] [ 0.031] [ Info ] Startup with argv: 2

vim:
[ SpaceVim ] [20:33:06] [ 0.030] [ Info ] v:argv is:['/usr/bin/vim', '--servername', 'VIM']
[ SpaceVim ] [20:33:06] [ 0.030] [ Info ] startup status:[2, ['/usr/bin/vim', '--servername', 'VIM']]
[ SpaceVim ] [20:33:06] [ 0.030] [ Info ] Startup with argv: 2


Much kind regards,

Rubin!

On Monday, June 3rd, 2024 at 17:34, Eric Wong <wsd...@outlook.com> wrote:

>
>
> You can use `SPC h L` to checkout the runtime line, there is something about the startup, for me it is:
>
> `[ SpaceVim ] [23:32:58:227] [ Info ] v:argv is:['D:\\Scoop\\apps\\neovim\\current\\bin\\nvim.exe', '--embed'] [ SpaceVim ] [23:32:58:227] [ Info ] startup status:[0] [ SpaceVim ] [23:32:58:227] [ Info ] Startup with no argv, current dir is used: ~\\.SpaceVim`
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "SpaceVim" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/spacevim/Dsvg-hBuNug/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to spacevim+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spacevim/SY8P282MB4369B95C6E638CC0B58B5D62D4FF2%40SY8P282MB4369.AUSP282.PROD.OUTLOOK.COM.

Wong Eric

unread,
Jun 3, 2024, 9:55:33 PMJun 3
to spac...@googlegroups.com
It seems a bug of spacevim. and the startup status is wrong. the function should be fixed.

Eric Wong

unread,
Jun 5, 2024, 6:45:57 AMJun 5
to spacevim
This issue has been fixed, please update SpaceVim.
Reply all
Reply to author
Forward
0 new messages