Skip to content

vimlab/vim-lelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

vim-lelab

Transform ES5 snippets of code to ES6 using Lebab

wip

Usage

:Lebab

:Lebab %

Transform current buffer to ES6 with default options.

Accepts range and visual selection to perform a transform on specific code parts.

Options

Drop a .lebabrc file in the project repository.

Additionnaly, the following locations are used to merge into .lebabrc configuration, before transforming with lebab.

  • ~/.config/lebab/.lebabrc
  • ~/.lebab/.lebabrc
  • ~/.lebabrc

Q: rc or opts ? rc would be json, opts would be line delimited cli flags. opts simpler:

--enable <a,b,c>   # enable only specified transform
--disable <a,b,c>  # disable specified transform

About

Transform ES5 snippets of code to ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages