prometheus-community / sublimelsp-promql

PromQL support for Sublime LSP plugin, using promql-langserver
Apache License 2.0
2 stars 3 forks source link

Binary not downloaded under ST4 (though plugin uses ST3 paths) #2

Open nvtkaszpir opened 3 years ago

nvtkaszpir commented 3 years ago

Troubleshooting: lsp-promql

Version

Active view

Project / Workspace

LSP configuration

{
  "clients": {
    "bashls": {
      "enabled": true
    }, 
    "gopls": {
      "command": [
        "gopls"
      ], 
      "enabled": true, 
      "initializationOptions": {
        "experimentalWorkspaceModule": false
      }, 
      "languageId": "go", 
      "scopes": [
        "source.go"
      ], 
      "syntaxes": [
        "Packages/Go/Go.sublime-syntax", 
        "Packages/GoSublime/syntax/GoSublime-Go-Recommended.sublime-syntax"
      ]
    }, 
    "pyls": {
      "command": [
        "/home/kaszpir/.pyenv/versions/3.7.3/envs/pyls/bin/pyls"
      ], 
      "enabled": true, 
      "languageId": "python", 
      "scopes": [
        "source.python"
      ], 
      "syntaxes": [
        "Packages/Python/Python.sublime-syntax", 
        "Packages/MagicPython/grammars/MagicPython.tmLanguage", 
        "Packages/Djaneiro/Syntaxes/Python Django.tmLanguage"
      ]
    }
  }
}

System PATH

nvtkaszpir commented 3 years ago

Binary is not downloaded either. Solved issue by manually downloading and copying binary to /home/kaszpir/.cache/sublime-text-3/Cache/LSP-promql/promql-langserver and restarting editor.

Troubleshooting: lsp-promql

Version

Active view

Project / Workspace

LSP configuration

{
  "clients": {
    "bashls": {
      "enabled": true
    }, 
    "gopls": {
      "command": [
        "gopls"
      ], 
      "enabled": true, 
      "initializationOptions": {
        "experimentalWorkspaceModule": false
      }, 
      "languageId": "go", 
      "scopes": [
        "source.go"
      ], 
      "syntaxes": [
        "Packages/Go/Go.sublime-syntax", 
        "Packages/GoSublime/syntax/GoSublime-Go-Recommended.sublime-syntax"
      ]
    }, 
    "pyls": {
      "command": [
        "/home/kaszpir/.pyenv/versions/3.7.3/envs/pyls/bin/pyls"
      ], 
      "enabled": true, 
      "languageId": "python", 
      "scopes": [
        "source.python"
      ], 
      "syntaxes": [
        "Packages/Python/Python.sublime-syntax", 
        "Packages/MagicPython/grammars/MagicPython.tmLanguage", 
        "Packages/Djaneiro/Syntaxes/Python Django.tmLanguage"
      ]
    }
  }
}

System PATH