mirror of
https://github.com/wuelnerdotexe/vim-astro.git
synced 2025-12-06 09:14:26 +08:00
25 lines
760 B
Plaintext
25 lines
760 B
Plaintext
*astro.txt* Astro language indentation and syntax support in Vim or Neovim.
|
|
|
|
==============================================================================
|
|
|
|
1. Configuration *astro-configuration*
|
|
|
|
The following variables control certain syntax highlighting features.
|
|
You can add them to your `.vimrc` or `init.vim`.
|
|
|
|
`let g:astro_typescript = 'enable'`
|
|
|
|
Enables TypeScript and TSX for `.astro` files.
|
|
|
|
Default Value: 'disable'
|
|
|
|
`let g:astro_stylus = 'enable'`
|
|
|
|
Enables Stylus for `.astro` files.
|
|
|
|
Default Value: 'disable'
|
|
|
|
NOTE: You need install a external plugin for support stylus in astro files.
|
|
==============================================================================
|
|
vim:textwidth=78:tabstop=8:filetype=help:
|