Skip to main content

Plugin reference

PluginExtensionsLanguage IDsServer command
bash-lsp.sh .bashshellscriptbash-language-server start
yaml-lsp.yml .yamlyamlyaml-language-server --stdio
terraform-lsp.tf .tfvarsterraform, terraform-varsterraform-ls serve
json-lsp.json .jsoncjson, jsoncvscode-json-language-server --stdio
css-html-lsp.css .scss .less .html .htmcss, scss, less, htmlvscode-css-language-server --stdio, vscode-html-language-server --stdio

Install any plugin with claude plugin install <name>@claude-lsp-plugins.

bash-lsp​

Server: bash-language-server

npm i -g bash-language-server
brew install shellcheck

Syntax errors work without ShellCheck. Install it to get lint rules on top, such as unquoted variables.

yaml-lsp​

Server: yaml-language-server

npm i -g yaml-language-server

terraform-lsp​

Server: terraform-ls

brew install hashicorp/tap/terraform-ls

On Linux, download a release from the terraform-ls releases page.

.tf files use the terraform language ID and .tfvars files use terraform-vars, as terraform-ls documents.

json-lsp​

Server: vscode-json-language-server, from vscode-langservers-extracted

npm i -g vscode-langservers-extracted

css-html-lsp​

One plugin, two servers: CSS (also SCSS and Less) and HTML. Both come from the same npm package as the JSON server.

npm i -g vscode-langservers-extracted
Enable and disable are per plugin

Claude Code toggles whole plugins, not single servers. css-html-lsp turns the CSS and HTML servers on and off together.

What is not covered​

  • .zsh, .code-workspace and .tfvars.json files are not mapped.
  • The HTML server reports problems in embedded <style> and <script> only, not malformed markup.
  • The terraform-vars server starts and answers, but did not flag an unterminated string in our test.