Skip to content
Ruby Autoformatter!
Ruby Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
benchmarks
build Soft blanklines (#132) Jun 5, 2019
ci Soft blanklines (#132) Jun 5, 2019
dockerfiles Add `shellcheck(1)` linting to Docker images Mar 31, 2019
fixtures qual of life Jul 7, 2019
scripts
src various performance things Jul 14, 2019
.gitignore
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Feb 19, 2019
Gemfile various performance things Jul 14, 2019
Gemfile.lock various performance things Jul 14, 2019
LICENSE
Makefile rubyfmt on rubyfmt Jul 7, 2019
README.md Readme for 0.2 Jul 7, 2019
methods_stress_test.rb Normalisation experiment (#117) Apr 5, 2019
string_literals_stress_test.rb more stress Mar 29, 2019

README.md

How do I pronounce rubyfmt

Ruby format

How do I use rubyfmt

  1. clone this repo
  2. make
  3. make install
  4. put this snippet in your vimrc, or if you're using a different editor, IDK run ruby --disable=gems ~/bin/rubyfmt.rb -i <the_current_file> on save.
function Rubyfmt()
  echo "Calling rubyfmt"
  silent exec("!ruby --disable=gems ~/bin/rubyfmt.rb -i " . expand("%"))
  silent exec("edit " . expand("%"))
endfunction

au BufWritePost *.rb call Rubyfmt()

We're doing dev on master please check out the v0.2 tag

We're doing dev on master please check out the v0.2 tag

We're doing dev on master please check out the v0.2 tag

You can’t perform that action at this time.