https://github.com/rhysd/vim-wasm
WebAssembly filetype support for Vim
https://github.com/rhysd/vim-wasm
vim vim-plugin wasm wast webassembly
Last synced: about 1 year ago
JSON representation
WebAssembly filetype support for Vim
- Host: GitHub
- URL: https://github.com/rhysd/vim-wasm
- Owner: rhysd
- License: mit
- Created: 2016-03-25T09:32:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T13:51:59.000Z (over 2 years ago)
- Last Synced: 2025-04-15T01:07:39.169Z (about 1 year ago)
- Topics: vim, vim-plugin, wasm, wast, webassembly
- Language: Vim Script
- Size: 26.4 KB
- Stars: 86
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wasm - vim-wasm - WebAssembly filetype support for Vim
README
WebAssembly Text Format Syntax Support for Vim
==============================================
[vim-wasm][] provides a [WebAssembly][] filetype `wat` support; syntax, filetype detection, and indentation.
This filetype plugin defines highlights based on [WebAssembly text format spec][].
Now this plugin is included in the [official Vim runtime files][vim runtime dir]. This repository is for
development. Unless you want to use HEAD version, you don't need to install this plugin.
[vim-wasm]: https://github.com/rhysd/vim-wasm
[WebAssembly]: https://webassembly.org/
[WebAssembly text format spec]: https://webassembly.github.io/spec/core/text/index.html
[vim runtime dir]: https://github.com/vim/vim/tree/master/runtime
## Installation and Usage
Copy `ftdetect`, `ftplugin`, `indent` and `syntax` directories into your `~/.vim` directory or use your
favorite plugin manager to install.
This plugin automatically detects `*.wat` (and `*.wast`) files as WebAssembly text format.
| `set filetype=wat` | `set filetype=lisp` |
|---------------------|---------------------|
|
|
|
## License
This plugin is distributed under [the MIT License](LICENSE).