v8/tools/torque/vim-torque
Daniel Clifford 0f15ed05b9 [torque]: Implement catch handlers for try blocks
In addition (and in combination), try statements now support "catch"
clauses at the end that catch JavaScript exceptions throw by any builtin
or runtime function contained in the try block:

  try {
    ThrowTypeError(context, ...);
  }
  catch (e) {
    // e has type Object
  }

Bug: v8:7793
Change-Id: Ie285ff888c49c112276240f7360f70c8b540ed19
Reviewed-on: https://chromium-review.googlesource.com/c/1302055
Commit-Queue: Daniel Clifford <danno@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57169}
2018-10-31 13:41:34 +00:00
..
ftdetect [vim-torque] Add a Torque vim syntax highlighter 2018-08-20 18:30:42 +00:00
syntax [torque]: Implement catch handlers for try blocks 2018-10-31 13:41:34 +00:00
README.md [vim-torque] Add a Torque vim syntax highlighter 2018-08-20 18:30:42 +00:00

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

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.

Plugin 'file:///path/to/v8/tools/torque/vim-torque'

vim-plug:

Add this line to your .vimrc or ~/.config/nvim/init.vim.

Plug '~/path/to/v8/tools/torque/vim-torque'