这是indexloc提供的服务,不要输入任何密码
Skip to content

7696122/poly-astro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

poly-astro

A polymode for Astro components.

It requires for you to have web-mode and polymode installed.

Known issues

This works ok-ish for most of my use-cases. There's a small issue on which syntax highlighting does not show up until you start editing a specific section, but the mode switching and indentation seems to work without any issues.

Usage

Require the package and load it for astro files:

(add-to-list 'auto-mode-alist '("\\.astro\\'" . poly-astro))

Any .astro file you open now should be properly highlighted and use the correct modes per section.

About

An emacs polymode for Astro components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%