cmake-language-server icon indicating copy to clipboard operation
cmake-language-server copied to clipboard

E5108: Error executing lua ...neovim/HEAD-f2906a4_2/share/nvim/runtime/lua/vim/lsp.lua:1317: table index is nil

Open hungrybirder opened this issue 3 years ago • 0 comments

❯ pip3 list | grep cmake-language-server
cmake-language-server  0.1.2
❯ pip3 --version
pip 21.1.2 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
❯ nvim --version
NVIM v0.5.0-dev+1384-gf2906a466
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20210607-31073-mvxyy9/build/config -I/tmp/neovim-20210607-31073-mvxyy9/src -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20210607-31073-mvxyy9/build/src/nvim/auto -I/tmp/neovim-20210607-31073-mvxyy9/build/include
Compiled by liyong@mbp

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-f2906a4_2/share/nvim"

Run :checkhealth for more info

When I open a CMakeLists.txt, I got errors:

Error detected while processing CursorHold Autocommands for "*":
E5108: Error executing lua ...neovim/HEAD-f2906a4_2/share/nvim/runtime/lua/vim/lsp.lua:1317: table index is nil

hungrybirder avatar Jun 07 '21 01:06 hungrybirder