mattn / mattn/vim-lsp-settings

lua-language-server does not work with local install

Open
#503 3 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

The settings in this repo seems to require a sumneko-lua-language-server that's created by the installation script also in this repo. But normally local install of lua-language-server only provide an executable lua-language-server. For example, in Arch Linux's official repo, the package installs lua-language-server to /usr/bin, which is a shell script calling the actual executable lua-language-server somewhere else. The case is similar for other platforms. As a result, the language server is not automatically started because the executable can not be found.

Maybe the executable required should be lua-language-server to work better with local installs?

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 installer/install-sumneko-lua-language-server.sh and the repository settings that reference sumneko-lua-language-server. Compare that executable name with the lua-language-server command installed by the Arch package described in the issue, then verify that the language server starts with a local installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, shell, vim
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.