Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"list index out of range" when no command is defined #2118

Closed
Sainan opened this issue Nov 18, 2022 · 1 comment
Closed

"list index out of range" when no command is defined #2118

Sainan opened this issue Nov 18, 2022 · 1 comment
Labels

Comments

@Sainan
Copy link
Contributor

Sainan commented Nov 18, 2022

Describe the bug
"command" is documented as "can be empty if starting manually, then TCP transport must be configured". However, doing so raises "list index out of range". This is possibly a regression of #1564.

To Reproduce
Use the following user configuration:

{
    "clients": {
        "pluto-language-server": {
            "enabled": true,
            "selector": "source.lua",
            "tcp_port": 5007,
            "command": []
        }
    }
}

Expected behavior
It shouldn't've attempted to start the process with the [] configuration.

Screenshots
image

Environment:

  • OS: Windows 10
  • Sublime Text version: 4143
  • LSP version: 1.20.0
  • Language servers used: pluto-language-server
@rchl rchl added the bug label Dec 14, 2022
@predragnikolic
Copy link
Member

The "list index out of range" error should be fixed with #2300

Feel free to reopen, if you stumble upon any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants