https://github.com/answerdotai/hyperscript-vim
_hyperscript ⋅ Vim / Neovim syntax files
https://github.com/answerdotai/hyperscript-vim
Last synced: 3 minutes ago
JSON representation
_hyperscript ⋅ Vim / Neovim syntax files
- Host: GitHub
- URL: https://github.com/answerdotai/hyperscript-vim
- Owner: AnswerDotAI
- Created: 2025-08-04T03:36:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-08-04T08:20:38.000Z (6 months ago)
- Last Synced: 2025-08-29T12:44:49.925Z (6 months ago)
- Language: Vim Script
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# _hyperscript ⋅ Vim / Neovim syntax files
Adds full syntax highlighting, JS‑region embedding, and basic filetype
detection for [_hyperscript](https://hyperscript.org).
## Installation
Using native pack/*/start (Vim 8 / Neovim)
```sh
git clone https://github.com/AnswerDotAI/hyperscript-vim \
~/.config/nvim/pack/plugins/start/hyperscript-vim # or ~/.vim/pack/…
````
Restart Vim (or run `:helptags ALL`).
With plugin managers
* **vim‑plug**
```vim
Plug 'AnswerDotAI/hyperscript-vim'
```
* **lazy.nvim**
```lua
{ 'AnswerDotAI/hyperscript-vim', ft = '_hyperscript' }
```
* **packer**
```lua
use { 'AnswerDotAI/hyperscript-vim', ft = '_hyperscript' }
```
### File detection
Files ending in `._hs`, `.hyperscript` or `.hyper` are recognized automatically.
If you embed `_hyperscript` within ``
tags in HTML, consider *vim‑html*’s heredoc rules or using Treesitter
instead.
## License
MIT