⚠️ Moved to new repo sublimelsp-promql.
PromQL support for Sublime LSP plugin, using promql-langserver.
- Install
LSP-promql
via package control. - It will download binary
promql-langserver
automatically. - Restart Sublime Text.
- Set Prometheus server via
env.LANGSERVER_PROMETHEUSURL
in Packages Settings -> LSP -> Servers -> LSP-promql
{
"env": {
"LANGSERVER_PROMETHEUSURL": "http://localhost:9090"
}
}