This happens when opening a C file on a clean LazyVim installation, after adding the clangd plugin. This is a neovim 0.10 snapshot from the unstable Ubuntu PPA for neovim:
$ nvim --version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info
[mhenrion@689.bm-mhenrion.user.nym2.adnexus.net ~]
$ nvim -V1 -v
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -Og -g -flto -fno-fat-lto-objects -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=auto -DUNIT_TESTING -DHAVE_UNIBILIUM -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -I/usr/include/luajit-2.1 -I/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87/.deps/usr/include -I/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87/build/src/nvim/auto -I/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87/build/include -I/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87/build/cmake.config -I/build/neovim-VzO4Vd/neovim-0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87/src -I/usr/include
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
$ dpkg -l | grep neovim
ii neovim 0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87-6850187d2~ubuntu20.04.1 amd64 Fork of Vim aiming to improve user experience, plugins, and GUIs.
ii neovim-runtime 0.10.0~ubuntu1+git202401272103-2cd76a758-971e32c87-6850187d2~ubuntu20.04.1 all Fork of Vim aiming to improve user experience, plugins, and GUIs. (runtime files)
Full error message:
Error detected while processing LspAttach Autocommands for "*"..User Autocommands for "LspSupportsMethod":
Error executing lua callback: /usr/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:383: enable: expected boolean, got table
stack traceback: [C]: in function 'error'
vim/shared.lua: in function 'validate'
/usr/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:383: in function 'enable'
...ocal/share/nvim/lazy/LazyVim/lua/lazyvim/util/toggle.lua:72: in function 'inlay_hints'
...share/nvim/lazy/LazyVim/lua/lazyvim/plugins/lsp/init.lua:153: in function <...share/nvim/lazy/LazyVim/lua/lazyvim/plugins/lsp/init.lua:147> [C]: in function 'nvim_exec_autocmds'
.../.local/share/nvim/lazy/LazyVim/lua/lazyvim/util/lsp.lua:80: in function <.../.local/share/nvim/lazy/LazyVim/lua/lazyvim/util/lsp.lua:62> [C]: in function 'nvim_exec_autocmds'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1397: in function '_on_attach'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1147: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Description
This happens when opening a C file on a clean LazyVim installation, after adding the clangd plugin. This is a neovim 0.10 snapshot from the unstable Ubuntu PPA for neovim:
Full error message: