Describe the Bug
When I rename or move a .astro file, the Astro LSP completely fails to recognize it.
After the rename/move:
- The new path does not appear in imports or auto-complete.
- The LSP no longer recognizes the file content at all.
- Type checking, completion, and import suggestions fail for that file.
I must restart the Astro language server manually for the updated file to be detected.
I'm using neovim with the latest astro lsp version
Steps to Reproduce
-
Create a .astro file, e.g.:
src/components/Test.astro
-
Rename or move it to:
src/ui/Test.astro
-
Try to:
auto-import it
use “Go to Definition”
Link to Minimal Reproducible Example
..