Skip to content

Latest commit

 

History

History
122 lines (91 loc) · 3.45 KB

LanguageServers.md

File metadata and controls

122 lines (91 loc) · 3.45 KB

List of language servers & how to get them

C/C++

Clojure

Crystal

Go

Haskell

  • HLS
    • Installation: use ghcup
    • Command: haskell-language-server-wrapper --lsp

JavaScript/TypeScript

  • deno

  • quick-lint-js

    • Only diagnostics (no formatting, hover information or code navigation)
    • Installation: npm install -g quick-lint-js
    • Command: quick-lint-js --lsp

JSON

Lua

  • luals
    • Installation: instructions
    • Command: lua-language-server (make sure the executable was installed in your $PATH)
  • lua-lsp
    • Unmaintained. You are in for trouble if you want to get it to work with Lua 5.4.
    • Installation: luarocks install lua-lsp (luarocks)
    • Command: lua-lsp

Markdown

Python

  • pylsp

    • Installation: pip install python-lsp-server[all]
    • Command: pylsp
  • Pyright

    • Installation: npm install -g pyright
    • Command: pyright-langserver --stdio
  • ruff

    • Only diagnostics, formatting and code actions (no hover information or code navigation)
    • Installation: pip install ruff
    • Command: ruff server

Ruby

  • ruby-lsp

    • Installation: gem install ruby-lsp
    • Command: ruby-lsp
  • solargraph

    • Installation: gem install solargraph
    • Command: solargraph stdio

Rust

  • rust-analyzer
    • Installation: rustup component add rust-analyzer
    • Command: rust-analyzer

Zig