Update readme

This commit is contained in:
2017-01-20 22:56:45 +00:00
parent c09d91f76a
commit e34b2fd758

View File

@@ -16,7 +16,7 @@ gem install rubocopfmt --pre
Drop `rubocopfmt.el` somewhere into you `load-path`. I favour the folder
`~/.emacs.d/vendor`:
```
```lisp
(add-to-list 'load-path "~/.emacs.d/vendor")
(require 'rubocopfmt)
```
@@ -26,7 +26,7 @@ Drop `rubocopfmt.el` somewhere into you `load-path`. I favour the folder
To enable formatting `ruby-mode` buffers with rubocopfmt on save, simply enable
`rubocop-mode` within `ruby-mode` with something like this in your config:
```
```lisp
(add-hook 'ruby-mode-hook #'rubocopfmt-mode)
```