alpha2phi / neovim-for-beginner

A configuration for Neovim beginners.
MIT License
437 stars 106 forks source link

First buffer open after this commit doesnt show color formatting #113

Open AdamBD opened 1 year ago

AdamBD commented 1 year ago

Hi 👋

Every time i open the first buffer after the alpha screen it shows without color highlighting and then all other buffers are OK.

Any idea why/where to look?

alecho commented 1 year ago

Getting the same thing here.

reet- commented 1 year ago

Same here, I see the following message in .local/state/nvim/lsp.log when this happens:

[START][2023-05-16 15:13:30] LSP logging initiated
[WARN][2023-05-16 15:13:30] .../lua/vim/lsp.lua:1637    "buf_attach_client called on unloaded buffer (id: 1): "

Looks like a race in the attach buffer code. For me it only happens if I start neovim directly with a file as argument.

I'm using v0.10.0-dev-340+g33687f5e8.