v8/tools/torque/vim-torque
Tobias Tebbi 0dc9b63ed3 [torque] explicit exports of macros to CSA
Macros are now inaccessible from CSA except if their declaration is
marked with the "export" keyword. The implicit field accessors for class
fields are always exported.

In this CL, unwarranted access from CSA is prevented by appending a
pseudo-random suffix to non-exported names. This is to be replaced by
something more principled, namely by not including these macros at all in
the headers included from CSA.

Bug: v8:7793
Change-Id: I3ffb2e91a616623f81b4b4508e001ad0cf65d2c2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1615258
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61672}
2019-05-20 22:53:35 +00:00
..
ftdetect [vim-torque] Add a Torque vim syntax highlighter 2018-08-20 18:30:42 +00:00
syntax [torque] explicit exports of macros to CSA 2019-05-20 22:53:35 +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'