Hi.
Trying to setting neovim with cmake, but doesn’t work. When I open CMakeLists.txt, shows this line: Client 1 quit with exit code 1 and signal 0.
In :LspInfo shows
Config: cmake
filetypes: cmake
root directory: /home/..... /Program
cmd: cmake-language-server
cmd: is executable: true
autostart: true
custom handlers
configured server list: clangd, lua_ls, cmake
In lsplog:
[ERROR][2023-03-20 14:49:27] …/vim/lsp/rpc.lua:733 “rpc” “cmake-language-server” “stderr” “Traceback (most recent call last):\n File "/home/cris/.local/bin/cmake-language-server", line 5, in \n from cmake_language_server.server import main\n File "/home/cris/.local/lib/python3.11/site-packages/cmake_language_server/server.py", line 8, in \n from pygls.lsp.methods import (\n File "/home/cris/.local/lib/python3.11/site-packages/pygls/lsp/init.py", line 23, in \n from pygls.lsp.types import *\n File "/home/cris/.local/lib/python3.11/site-packages/pygls/lsp/types/init.py", line 6, in \n from pygls.lsp.types.general_messages import *\n File "/home/cris/.local/lib/python3.11/site-packages/pygls/lsp/types/general_messages.py", line 35, in \n from pygls.lsp.types.language_features import (CallHierarchyClientCapabilities,\n File "/home/cris/.local/lib/python3.11/site-packages/pygls/lsp/types/language_features/init.py", line 2, in \n from pygls.lsp.types.language_features.call_hierarchy import *\n File "/home/cris/.local/lib/python3.11/site-packages/pygls/lsp/types/language_features/call_hierarchy.py", line 70, in \n class CallHierarchyIncomingCall(Model):\n File "/home/cris/.local/lib/python3.11/site-packages/pydantic/main.py", line 369, in new\n cls.signature = ClassAttribute(‘signature’, generate_model_signature(cls.init, fields, config))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/cris/.local/lib/python3.11/site-packages/pydantic/utils.py", line 231, in generate_model_signature\n merged_params[param_name] = Parameter(\n ^^^^^^^^^^\n File "/usr/lib64/python3.11/inspect.py", line 2722, in init\n raise ValueError(‘{!r} is not a valid parameter name’.format(name))\nValueError: ‘from’ is not a valid parameter name\n”