An open API service indexing awesome lists of open source software.

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

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