vim-js-arrow-function : changes a JavaScript anonymous function to an arrow function expression (ES2015)
script karma |
Rating 0/0,
Downloaded by 1417 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Mark Volkmann |
|
script type |
ftplugin |
|
description |
This plugin converts JavaScript anonymous functions to arrow function expressions (introduced in ES 2015).
Place the cursor anywhere inside the function, even on the "function" keyword, and run the JsAnonFnToArrowFn command.
This command is mapped to af unless that is already mapped to something else. |
|
install details |
The easiest way to install this is to use Pathogen and "git clone" this repository into the .vim/bundle directory.
Alternatively, you can copy ftplugin/javascript.vim to your ~/.vim/ftplugin directory, but be sure you are not overwriting an existing file. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.174
|