Which-key doesn't load until LSP? #802
-
I'm using Neovim (and Which-Key) with Ruby and Solargraph, the latter of which can be slow on startup. I recently noticed that, after I open a Ruby file, for about 10-15 seconds which-key doesn't work at all. I press the keybinds and the window doesn't pop up at all (although the keybinds themselves work). An excerpt from my log:
Is this expected? Can it be fixed? Or is it just the way Neovim schedules LSP? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind, apparently it was caused by me hooking up some which-key stuff (unrelated to LSP) to |
Beta Was this translation helpful? Give feedback.
Never mind, apparently it was caused by me hooking up some which-key stuff (unrelated to LSP) to
BufEnter
. Changed it toBufReadPost
, worked like a charm.