Plugin reference
| Plugin | Extensions | Language IDs | Server command |
|---|---|---|---|
bash-lsp | .sh .bash | shellscript | bash-language-server start |
yaml-lsp | .yml .yaml | yaml | yaml-language-server --stdio |
terraform-lsp | .tf .tfvars | terraform, terraform-vars | terraform-ls serve |
json-lsp | .json .jsonc | json, jsonc | vscode-json-language-server --stdio |
css-html-lsp | .css .scss .less .html .htm | css, scss, less, html | vscode-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-workspaceand.tfvars.jsonfiles are not mapped.- The HTML server reports problems in embedded
<style>and<script>only, not malformed markup. - The
terraform-varsserver starts and answers, but did not flag an unterminated string in our test.