v8/tools/torque/vim-torque/README.md
Timothy Gu 04a6adfc7e [vim-torque] Add a Torque vim syntax highlighter
The vim counterpart to the existing Visual Studio Code extension.

Change-Id: I7ee59e212a31e81034362eb406f3ffdbb2447acb
Reviewed-on: https://chromium-review.googlesource.com/1180705
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55231}
2018-08-20 18:30:42 +00:00

34 lines
608 B
Markdown

# V8 Torque syntax support for vim
This plugin adds syntax highlighting support for the V8 Torque domain-specific
language.
## Installation
Installation depends on your favorite plugin manager.
**Pathogen:**
Run
```sh
ln -s $V8/tools/torque/vim-torque ~/.vim/bundle/vim-torque
# or ~/.config/nvim/bundle/vim-torque for Neovim
```
**Vundle:**
Add this line to your `.vimrc` or `~/.config/nvim/init.vim`.
```vim
Plugin 'file:///path/to/v8/tools/torque/vim-torque'
```
**vim-plug:**
Add this line to your `.vimrc` or `~/.config/nvim/init.vim`.
```vim
Plug '~/path/to/v8/tools/torque/vim-torque'
```