My neovim seemingly refuses to start LSP clients
I should note that I just started my config from kickstart.nvim
(GitHub - nvim-lua/kickstart.nvim: A launch point for your personal nvim configuration).
Steps to reproduce:
-
Build neovim from
462f7aaa8ea683114726d5f189f238911eb4819b
(v0.11.0
does not work: runs into some seemingly unrelated error invim.lsp
) -
Clone my config from GitHub - anlsh/nvim: A launch point for your personal nvim configuration, commit
9ff89b7965fd737ed6577731d1da56c53067821c
-
vi ~/.config/nvim/init.lua
(or perhaps another file like/tmp/foo.c
: but if you try to repro this make sure you haveclangd
installed, as I stoppedMason
from trying to install it) -
Run
:LspInfo
Expected Behavior: There are active LSP clients
Actual Behavior:
/t/foo.c h// X
1
2 ==============================================================================
3 vim.lsp: 2 ⚠️
4
5 - LSP log level : WARN
6 - Log path: /home/anish/.local/state/nvim/lsp.log
7 - Log size: 12890 KB
8
9 vim.lsp: Active Clients
10 - No active clients
11
12 vim.lsp: Enabled Configurations
13 - ⚠️ WARNING 'lua_ls' config not found. Ensure that vim.lsp.config('lua_ls') was called.
14 - lua_ls:
15
16 - ⚠️ WARNING 'rust_analyzer' config not found. Ensure that vim.lsp.config('rust_analyzer') was called.
17 - rust_analyzer:
18
19
20 vim.lsp: File Watcher
21 - file watching "(workspace/didChangeWatchedFiles)" disabled on all clients
22
23 vim.lsp: Position Encodings
24 - No active clients
Looking at the log file reveals absolutely nothing. There are no recent messages in there, just some from years ago (presumably from another slightly more successful attempt to switch to neovim)