mattn / mattn/vim-lsp-settings

term_start function unknown error

Open
#722 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.4k
Forks
245
Avg merge
3m
Merged PRs (30d)
1

Description

Hello there!
I'm trying to install pylsp-all for python using :LspInstallServer and I get the following error

Installing pylsp-all
Error detected while processing function <SNR>35_vim_lsp_install_server:
line   32:
E117: Unknown function: term_start
E15: Invalid expression: term_start([l:entry[1]], {'cwd': l:server_install_dir})

It also says: pylsp-all requires py, but I already have python installed on my mac.
I'm using MacOS 10.13.6 and Vim 8.0.1283
I tried to install pylsp-all manually but it didn't solve the problem and
I couldn't find any info about this. Any idea why this happens? Is this function deprecated or something?
I kinda new to vim btw, just tryna get it how things work here :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the s:vim_lsp_install_server function named in the error and inspect its term_start call. Check :help term_start and the reported Vim 8.0.1283 version, then verify how pylsp-all resolves the required py executable. Done means the compatibility requirement or installation fix is confirmed and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.