Closed aaronjconway closed 3 months ago
Currently when using dynamic [anything].astro routes I am having issues in neovim. No issues on other .astro files.
I get minimal lsp support but html, css and most ts not working.
Some but not all diagnostics work.
Formatting is either non existent or sometimes breaks on save. If I delete a line and save, it adds the line back.
vscode has no issues.
Thank you!!
I have a minimal neovim config at https://github.com/aaronjconway/astro_config
npm create astro@latest Empty: yes Typescript: yes - strict
npm i -D prettier prettier-plugin-astro
// .prettierrc.mjs /** @type {import("prettier").Config} */ export default { plugins: ['prettier-plugin-astro'], overrides: [ { files: '*.astro', options: { parser: 'astro', }, }, ], }
Describe the Bug
Currently when using dynamic [anything].astro routes I am having issues in neovim. No issues on other .astro files.
I get minimal lsp support but html, css and most ts not working.
Some but not all diagnostics work.
Formatting is either non existent or sometimes breaks on save. If I delete a line and save, it adds the line back.
vscode has no issues.
Thank you!!
Steps to Reproduce
I have a minimal neovim config at https://github.com/aaronjconway/astro_config
Steps to reproduce