Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Language Server Protocol | 9,603 | a day ago | 231 | other | HTML | |||||
Defines a common protocol for language servers. | ||||||||||
Nvim Lspconfig | 7,520 | 5 hours ago | 35 | apache-2.0 | Lua | |||||
Quickstart configs for Nvim LSP | ||||||||||
Eglot | 1,931 | 19 hours ago | 78 | gpl-3.0 | Emacs Lisp | |||||
A client for Language Server Protocol servers | ||||||||||
Vscode Java | 1,882 | 20 hours ago | 802 | epl-2.0 | TypeScript | |||||
Java Language Support for Visual Studio Code | ||||||||||
Kotlin Language Server | 1,212 | 13 days ago | 1 | March 10, 2021 | 161 | mit | Kotlin | |||
Kotlin code completion, linting and more for any editor/IDE using the Language Server Protocol | ||||||||||
Go Langserver | 1,113 | 9 | 17 | 2 years ago | 7 | August 24, 2021 | 60 | mit | Go | |
Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP) | ||||||||||
Vim Lsp Settings | 1,111 | a day ago | 71 | mit | Vim Script | |||||
Auto configurations for Language Server for vim-lsp | ||||||||||
Php Language Server | 1,061 | 26 | 1 | 2 years ago | 64 | November 13, 2018 | 267 | isc | PHP | |
PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥 | ||||||||||
Texlab | 1,044 | a day ago | 5 | June 13, 2022 | 27 | gpl-3.0 | Rust | |||
An implementation of the Language Server Protocol for LaTeX | ||||||||||
Language Tools | 1,007 | 168 | 10 hours ago | 201 | June 26, 2022 | 224 | mit | TypeScript | ||
The Svelte Language Server, and official extensions which use it |
Implementation of the Language Server Protocol for PromQL.
A Language Server on its own is not very useful. You need some Language Client to use it with.
The following Language Clients have been tested with this language server. More will be added in the future.
Feel free to reach out if you want to use it with another Editor/Tool.
Reading this documentation can help you in your work.
There exists a VS Code extension based on this language server: slrtbtfs/vscode-prometheus
It is used as the main test platform for this language server.
Since it isn't published on the Extensions Marketplace yet, you'll have to follow the somewhat more complicated installation steps described in the README there.
With Vim, currently only PromQL queries inside YAML files work without additional support. Generally the experience with Vim is more buggy than with VS Code.
Install the YouCompleteMe Plugin.
Put the configuration following configuration file for the language server in .vim/promql-lsp.yaml
.
# Change this adress to the address of the prometheus server you want to use for metadata
prometheus_url: http://localhost:9090
rpc_trace: text
Add the following to your .vimrc
let g:ycm_language_server = [
\ { 'name': 'promql',
\ 'filetypes': [ 'yaml' ],
\ 'cmdline': [ 'promql-langserver', '--config-file', expand('~/.vim/promql-lsp.yaml')]
\ },
\ ]
The Vim command :YcmDebugInfo
gives status information and points to logfiles.
LSP
, LSP-promql
via Package Control
.Refer to CONTRIBUTING.md
Apache License 2.0, see LICENSE.