]> git.eshelyaron.com Git - emacs.git/commit
Add Rubocop Flymake backend
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 21 Nov 2017 23:04:27 +0000 (01:04 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 21 Nov 2017 23:53:37 +0000 (01:53 +0200)
commit09944d499a361044d81eb6afaa29ffda885b2076
tree8689c0b6ba3bcd95e30528a87227709df62378fa
parentc65a0ae7c4592d7fd9a47de3231e6ed07807f8af
Add Rubocop Flymake backend

* lisp/progmodes/ruby-mode.el (ruby-flymake-command):
Inline the value.  There are no known substitutes.
(ruby-flymake): Rename to `ruby-flymake-simple' and simplify
the docstring.
(ruby-flymake-use-rubocop-if-available): New option.
(ruby--rubocop-flymake-proc): New variable.
(ruby-rubocop-config): New option.
(ruby-flymake-rubocop, ruby-flymake-auto): New functions.
(ruby-mode): Use `ruby-flymake-auto'.
lisp/progmodes/ruby-mode.el