v8/tools/torque/vim-torque
Maya Lekova 4ac7866d32 Revert "[torque]: Implement catch handlers for try blocks"
This reverts commit 0f15ed05b9.

Reason for revert: Braking Node.js integration, see
https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20-%20node.js%20integration/3917

Original change's description:
> [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}

TBR=danno@chromium.org,mstarzinger@chromium.org,tebbi@chromium.org

Change-Id: Ib9e3155ef46cc46851c4ca8a2624fd7634238e13
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:7793
Reviewed-on: https://chromium-review.googlesource.com/c/1310197
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57177}
2018-10-31 16:36:25 +00:00
..
ftdetect [vim-torque] Add a Torque vim syntax highlighter 2018-08-20 18:30:42 +00:00
syntax Revert "[torque]: Implement catch handlers for try blocks" 2018-10-31 16:36:25 +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'