claude-code-lsps icon indicating copy to clipboard operation
claude-code-lsps copied to clipboard

feat: add Astro LSP plugin

Open synxn1o opened this issue 6 months ago • 0 comments

Summary

  • Add LSP plugin for .astro files using @astrojs/language-server
  • Includes auto-install hook (hooks/check-astro-ls.sh) that runs on session start
  • .lsp.json with typescript.tsdk initialization option (required by astro-ls)
  • Registered in marketplace.json

Plugin structure

astro_lsp/
├── .claude-plugin/
│   └── plugin.json
├── .lsp.json
├── hooks/
│   ├── hooks.json
│   └── check-astro-ls.sh
└── README.md

Tested

  • documentSymbol — returns Props interface, variables, HTML elements, CSS rules
  • hover — returns type info for Astro component props

🤖 Generated with Claude Code

synxn1o avatar May 28 '26 13:05 synxn1o