When I upgrade to 2.0.0, error occurred:
[dein] Error occurred while executing hook: nvim-lspconfig
[dein] Vim(lua):E5108: Error executing lua ...b/.SpaceVim/bundle/nvim-lspconfig/lua/lspconfig.lua:80: attempt to co
ncatenate local 'k' (a boolean value)
[dein] stack traceback:
[dein] ^I...b/.SpaceVim/bundle/nvim-lspconfig/lua/lspconfig.lua:80: in function '__index'
[dein] ^I[string ":lua"]:49: in main chunk
This is my config:
#=============================================================================
# basic.toml --- basic configuration example for SpaceVim
# Copyright (c) 2016-2022 Wang Shidong & Contributors
# Author: Wang Shidong < wsd...@outlook.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================
# All SpaceVim option below [option] section
[options]
# set spacevim theme. by default colorscheme layer is not loaded,
# if you want to use more colorscheme, please load the colorscheme
# layer
colorscheme = "gruvbox"
colorscheme_bg = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = true
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "nil"
statusline_iseparator = "bar"
buffer_index_type = 4
windows_index_type = 3
enable_tabline_filetype_icon = true
enable_statusline_mode = false
statusline_unicode = false
# Enable vim compatible mode, avoid changing origin vim key bindings
vimcompatible = true
default_indent = 4
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = "complete"
auto_completion_tab_key_behavior = "cycle"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "lang#c"
clang_executable = "/home/linuxbrew/.linuxbrew/bin/clang"
enable_clang_syntax_highlight = true
libclang_path = "/home/linuxbrew/.linuxbrew/lib/libclang.so"
clang_flags = ["-std=c++2a"]
[[layers]]
name = "lsp"
filetypes = [
"c",
"cpp"
]
enabled_clients = ['clangd']
[layers.override_cmd]
c = ["clangd"]
[[layers]]
name = "format"