Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wuelnerdotexe/vim-astro
Astro language (.astro files) indentation and syntax support in Vim or Neovim. ππ§βπβ¨
https://github.com/wuelnerdotexe/vim-astro
astro hacktoberfest neovim vim
Last synced: 2 days ago
JSON representation
Astro language (.astro files) indentation and syntax support in Vim or Neovim. ππ§βπβ¨
- Host: GitHub
- URL: https://github.com/wuelnerdotexe/vim-astro
- Owner: wuelnerdotexe
- License: mit
- Created: 2022-08-05T16:11:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T12:19:47.000Z (8 months ago)
- Last Synced: 2024-12-18T05:13:14.388Z (11 days ago)
- Topics: astro, hacktoberfest, neovim, vim
- Language: Vim Script
- Homepage: https://www.vim.org/scripts/script.php?script_id=6025
- Size: 10 MB
- Stars: 179
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Astro support for Vim or Neovim
> π§βπ Not sure what Astro is? See their website at [astro.build](https://astro.build)!
Provides syntax highlighting and indentation support for `.astro` files.
## Features
- Syntax highlighting for embedded languages:
- JavaScript and JSX.
- TypeScript and TSX.
- CSS, SCSS, SASS, and LESS.
- Stylus (need external support).
- Indentation (experimental).
- Code folding.
- No dependencies from external syntax plugins.
- Full integration with Vim functions. [Read more](https://github.com/wuelnerdotexe/vim-astro/pull/3).## Installation
Install via your preferred package manager. Example using [vim-plug](https://github.com/junegunn/vim-plug):
```vim
Plug 'wuelnerdotexe/vim-astro'
```alternatively, install manually.
## Configuration
The following variables control certain syntax highlighting features. You can add them to your `.vimrc` or `init.vim`.
```vim
let g:astro_typescript = 'enable'
```Enables TypeScript and TSX for `.astro` files.
Default Value: 'disable'
```vim
let g:astro_stylus = 'enable'
```Enables Stylus for `.astro` files.
Default Value: 'disable'
NOTE: Vim does not provide Stylus support by default, but you can install [vim-stylus](https://github.com/wavded/vim-stylus) to support it.
## Maintainer
> Hi π, I'm **[Wuelner](https://linktr.ee/wuelnerdotexe)**, a **software developer from Guatemala**, passionate about creating minimalist solutions using solid fundamentals focused on **"how things should be"**.
## Credits
- Based on: Plugin [vim-svelte](https://github.com/evanleck/vim-svelte) by. [Evan Lecklider's](https://github.com/evanleck).
## License
[MIT Β© Wuelner MartΓnez.](https://github.com/wuelnerdotexe/vim-astro/blob/main/LICENSE)
With π from LATAM to the world!