[bug] lspconfig attempt to concatenate local 'k' (a boolean value )

93 views
Skip to first unread message

Emmanuel Martinez

unread,
Aug 21, 2022, 8:55:48 AM8/21/22
to spac...@googlegroups.com
## Expected behavior, english is required

It should not show errors when configuring the LSP layer

## The reproduce ways from Vim starting (Required!)

Just follow the guide to configure Python or Tyscript Language

https://spacevim.org/layers/lang/python/
Or
https://spacevim.org/layers/lang/typescript/

## Environment Information

- OS: mac
- vim version: -
- neovim version: 0.7.2
- SpaceVim version: 2.1.0-dev
- SpaceVim status: 9fa6fad9


```
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
```

## The reproduce ways from Vim starting (Required!)

## Output of the `:SPDebugInfo!`

<details><summary> SpaceVim debug information </summary>

### SpaceVim options :

```toml
  auto_disable_touchpad = 1
  autocomplete_method = 'deoplete'
  autocomplete_parens = 1
  bootstrap_after = 'myspacevim#after'
  bootstrap_before = 'myspacevim#before'
  buffer_index_type = 4
  checkinstall = 1
  code_runner_focus = 0
  colorscheme = 'gruvbox'
  colorscheme_bg = 'dark'
  colorscheme_default = 'desert'
  commandline_prompt = '>'
  custom_color_palette = []
  custom_plugins = [['janko/vim-test', {'name': 'janko/vim-test', 'overwrite': 1}], ['tpope/vim-projectionist', {'name': 'tpope/vim-projectionist', 'overwrite': 1}], ['airblade/vim-rooter', {'name': 'airblade/vim-rooter', 'overwrite': 1}]]
  data_dir = '/Users/emmanuel/.cache/'
  debug_level = 1
  default_custom_leader = '<Space>'
  default_indent = 2
  disabled_plugins = []
  enable_bepo_layout = 0
  enable_cursorcolumn = 0
  enable_cursorline = 1
  enable_debug = 0
  enable_googlesuggest = 0
  enable_guicolors = 1
  enable_javacomplete2_py = 0
  enable_key_frequency = 0
  enable_language_specific_leader = 1
  enable_neocomplcache = 0
  enable_os_fileformat_icon = 0
  enable_powerline_fonts = 1
  enable_projects_cache = 1
  enable_statusline_bfpath = 0
  enable_statusline_mode = 0
  enable_statusline_tag = 1
  enable_tabline_filetype_icon = 1
  enable_tabline_ft_icon = 0
  enable_vimfiler_welcome = 1
  enable_ycm = 0
  error_symbol = ' '
  escape_key_binding = 'jk'
  expand_tab = 1
  file_searching_tools = []
  filemanager = 'nerdtree'
  filetree_direction = 'right'
  filetype_icons = {}
  force_global_config = 0
  gitcommit_issue_icon = ''
  gitcommit_pr_icon = ''
  github_username = ''
  guifont = ''
  hiddenfileinfo = 1
  home_files_number = 6
  hosts_url = 'https://raw.githubusercontent.com/racaljk/hosts/master/hosts'
  info_symbol = 'ⓘ'
  keep_server_alive = 1
  language = ''
  leader_guide_default_group_name = ''
  leader_guide_flatten = 1
  leader_guide_hspace = 5
  leader_guide_max_size = 0
  leader_guide_position = 'botright'
  leader_guide_run_map_on_popup = 1
  leader_guide_sort_horizontal = 0
  leader_guide_submode_mappings = {'<C-C>': 'win_close'}
  leader_guide_vertical = 0
  lint_engine = 'neomake'
  lint_on_save = 1
  lint_on_the_fly = 0
  max_column = 120
  plugin_bundle_dir = '/Users/emmanuel/.cache/vimfiles/'
  plugin_manager = 'dein'
  plugin_manager_processes = 16
  plugin_name = 'emmet-vim'
  project_auto_root = 1
  project_non_root = ''
  project_rooter_outermost = 1
  project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/', 'tsconfig.json']
  projects_cache_num = 20
  realtime_leader_guide = 1
  relativenumber = 1
  search_tools = ['rg', 'ag', 'pt', 'ack', 'grep', 'findstr', 'git']
  sidebar_direction = ''
  sidebar_width = 30
  smartcloseignoreft = ['tagbar', 'vimfiler', 'defx', 'NvimTree', 'SpaceVimRunner', 'SpaceVimREPL', 'SpaceVimQuickFix', 'HelpDescribe', 'VebuggerShell', 'VebuggerTerminal', 'SpaceVimTabsManager']
  smartcloseignorewin = ['__Tagbar__', 'vimfiler:default']
  snippet_engine = 'neosnippet'
  src_root = 'E:\sources\'
  statusline_inactive_separator = 'arrow'
  statusline_iseparator = 'nil'
  statusline_left = ['winnr', 'filename', 'major mode', 'search count', 'syntax checking', 'minor mode lighters']
  statusline_right = ['fileformat', 'cursorpos', 'percentage']
  statusline_separator = 'arrow'
  statusline_unicode = 1
  terminal_cursor_shape = 2
  todo_labels = ['fixme', 'question', 'todo', 'idea']
  todo_prefix = '@'
  update_retry_cnt = 3
  version = '2.1.0-dev'
  vim_help_language = 'en'
  vimcompatible = 0
  warning_symbol = ' '
  wildignore = '*/tmp/*,*.so,*.swp,*.zip,*.class,tags,*.jpg,*.ttf,*.TTF,*.png,*/target/*,.git,.svn,.hg,.DS_Store,*.svg'
  windisk_encoding = 'cp936'
  windows_index_type = 3
  windows_leader = 's'
  windows_smartclose = 'q'
  wrap_line = 0
```


### SpaceVim layers :

```toml
[[layers]]
  name="autocomplete"
  auto-completion-return-key-behavior='nil'
[[layers]]
  name="checkers"
[[layers]]
  name="format"
[[layers]]
  name="edit"
[[layers]]
  name="ui"
[[layers]]
  name="core"
[[layers]]
  name="core#banner"
[[layers]]
  name="core#statusline"
[[layers]]
  name="core#tabline"
[[layers]]
  name="colorscheme"
[[layers]]
  name="lang#python"
  python_file_head=[]
[[layers]]
  name="lsp"
  enabled_clients=['pyright', 'tsserver']
[[layers]]
  name="lang#typescript"
[[layers]]
  name="test"
[[layers]]
  name="gtags"
[[layers]]
  name="git"
[[layers]]
  name="lang#html"
  emmet_filetyps=['html']
  emmet_leader_key='<C-e>'
```


### SpaceVim Health checking :

SpaceVim clipboard support check report:
Checking +clipboard:
      SUCCEED!
SpaceVim environment check report:
Current progpath: nvim(/usr/local/Cellar/neovim/0.7.2_1/bin/nvim)
version: NVIM v0.7.2
OS: mac
[shell, shellcmdflag, shellslash]: ['/bin/zsh', '-c', 0]
SpaceVim lua support check report:
Checking +lua:
      Failed : Known issue, neovim do not support lua now.
SpaceVim python support check report:
Checking +python3:
      SUCCEED!
Checking +python:
      Failed : to support +python, you need run `pip2 install neovim`
autocomplete layer health:

ok

checkers layer health:

ok

format layer health:

ok

edit layer health:

ok

ui layer health:

ok

core layer health:

ok

core#banner layer health:

ok

core#statusline layer health:

ok

core#tabline layer health:

ok

colorscheme layer health:

ok

lang#python layer health:

ok

lsp layer health:

ok

lang#typescript layer health:

ok

test layer health:

ok

gtags layer health:

ok

git layer health:

ok

lang#html layer health:

ok


### SpaceVim runtime log :

```log
[ SpaceVim ] : logger file  does not exists, only log for current process will be shown!
[ SpaceVim ] [07:36:17] [0.000] [ Info  ] Loading SpaceVim from: /Users/emmanuel/.SpaceVim/
[ SpaceVim ] [07:36:17] [0.000] [ Info  ] $PYTHON_HOST_PROG is not empty, setting g:python_host_prog:/Users/emmanuel/.pyenv/versions/2.7.16/envs/neovim2/bin/python
[ SpaceVim ] [07:36:17] [0.000] [ Info  ] $PYTHON3_HOST_PROG is not empty, setting g:python3_host_prog:/Users/emmanuel/.pyenv/versions/neovim3/bin/python
[ SpaceVim ] [07:36:17] [0.335] [ Info  ] Startup with no argv, current dir is used: ~/workspace/tss-prueba
[ SpaceVim ] [07:36:17] [0.357] [ Info  ] start loading global config >>>
[ SpaceVim ] [07:36:17] [0.357] [ Info  ] global_dir is: /Users/emmanuel/.SpaceVim.d/
[ SpaceVim ] [07:36:17] [0.357] [ Info  ] find global config: /Users/emmanuel/.SpaceVim.d/init.toml
[ SpaceVim ] [07:36:17] [0.357] [ Info  ] start to apply config [glob]
[ SpaceVim ] [07:36:17] [0.364] [ Info  ] start loading local config >>>
[ SpaceVim ] [07:36:17] [0.364] [ Info  ] Could not find project local config
[ SpaceVim ] [07:36:17] [0.366] [ Info  ] SpaceVim server startup at:/tmp/spacevim_nvim_server
[ SpaceVim ] [07:36:18] [0.416] [ Info  ] the func has been added to mode:syntax-checking
[ SpaceVim ] [07:36:18] [0.455] [ Info  ] the func has been added to mode:spell-checking
[ SpaceVim ] [07:36:18] [0.455] [ Info  ] the func has been added to mode:paste-mode
[  project ] [07:36:18] [0.512] [ Info  ] Load projects cache from: /Users/emmanuel/.cache/SpaceVim/projects.json
[ SpaceVim ] [07:36:18] [0.588] [ Info  ] finished loading SpaceVim!
[  project ] [07:36:18] [0.731] [ Info  ] project_rooter_patterns option has been change, clear b:rootDir
[  project ] [07:36:18] [0.734] [ Info  ]         (tsconfig.json):/Users/emmanuel/workspace/tss-prueba/
[ SpaceVim ] [07:36:18] [0.742] [ Info  ] try to open SpaceVim welcome page
[  project ] [07:42:17] [360.093] [ Info  ] change to root: /Users/emmanuel/workspace/tss-prueba
[ SpaceVim ] [07:42:25] [367.708] [ Info  ] the func has been added to mode:syntax-checking
[ SpaceVim ] [07:42:25] [367.718] [ Info  ] the func has been added to mode:spell-checking
[ SpaceVim ] [07:42:25] [367.718] [ Info  ] the func has been added to mode:paste-mode

```
</details>

## Screenshots

If you have any screenshots for this issue please upload here. BTW you can use https://asciinema.org/ for recording video  in terminal.
## ScreenshotsIf you have any screenshots, add to mail Attachment.
Screen Shot 2022-08-21 at 7.55.17.png
Reply all
Reply to author
Forward
0 new messages