Skip to content

Language servers ​

The language servers Pomelo can start, the languages each one serves and the folder it runs in. Under each are the programs that can be it, in the order they are tried; the first one found runs. The language_servers setting names them to reorder them, turn one off with !name, or turn on an opt-in one, which runs only when named there (see Language servers).

Pomelo looks for each program on your login shell's PATH first. Servers published to npm are downloaded when missing (with your node and npm) into ~/Library/Application Support/Pomelo/languages.

rust-analyzer ​

For Rust. Runs in the folder of the outermost Cargo.toml, else the workspace folder.

NameProgramOpt-inWhen missing
rust-analyzerrust-analyzer-Install it: rustup component add rust-analyzer

typescript ​

For TypeScript, TSX, JavaScript. Runs in the folder of the outermost package.json, tsconfig.json or jsconfig.json, else the workspace folder.

NameProgramOpt-inWhen missing
vtslsvtsls --stdio-Downloaded from npm (@vtsls/language-server)
typescript-language-servertypescript-language-server --stdio-Install it yourself

tailwindcss ​

For TypeScript, TSX, JavaScript, CSS, HTML, PHP, Svelte. Runs in the folder of the outermost package.json, tsconfig.json or jsconfig.json, else the workspace folder.

NameProgramOpt-inWhen missing
tailwindcss-language-servertailwindcss-language-server --stdio-Downloaded from npm (@tailwindcss/language-server)

eslint ​

For TypeScript, TSX, JavaScript, Svelte. Runs in the folder of the outermost package.json, tsconfig.json or jsconfig.json, else the workspace folder.

NameProgramOpt-inWhen missing
eslintnode vscode-eslint/server/out/eslintServer.js --stdio-Built once from its source release

gopls ​

For Go. Runs in the folder of the outermost go.work or go.mod, else the workspace folder.

NameProgramOpt-inWhen missing
goplsgopls-Install it: go install golang.org/x/tools/gopls@latest

python ​

For Python. Runs in the folder of the nearest pyproject.toml, setup.py, setup.cfg, requirements.txt or pyrightconfig.json, else the workspace folder.

NameProgramOpt-inWhen missing
basedpyrightbasedpyright-langserver --stdio-Downloaded from npm (basedpyright)
pyrightpyright-langserver --stdio-Downloaded from npm (pyright)
tyty server-Install it: uv tool install ty

clangd ​

For C, C++. Runs in the folder of the nearest compile_commands.json, CMakeLists.txt or .clangd, else the workspace folder.

NameProgramOpt-inWhen missing
clangdclangd-Install it yourself

ruby ​

For Ruby. Runs in the folder of the nearest Gemfile, else the workspace folder.

NameProgramOpt-inWhen missing
solargraphsolargraph stdio-Install it: gem install solargraph
ruby-lspruby-lspyesInstall it: gem install ruby-lsp