diff --git a/custom.el b/custom.el index 2d65681..e5221db 100644 --- a/custom.el +++ b/custom.el @@ -7,7 +7,7 @@ '(magit-commit-arguments (quote ("-S"))) '(package-selected-packages (quote - (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-extra-highlight ruby-compilation rubocopfmt rspec-mode robe rjsx-mode rainbow-mode racer prettier-js plantuml-mode php-mode phi-search package-build neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ highlight-symbol highlight-indentation highlight-indent-guides helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx diminish diff-hl company-go coffee-mode cargo buffer-move browse-kill-ring anzu ace-window)))) + (zoom-window yasnippet-snippets yari yaml-mode which-key web-mode use-package toggle-quotes thrift string-inflection smex smartparens smart-shift smart-mode-line seeing-is-believing scss-mode sass-mode rust-playground ruby-tools ruby-refactor ruby-extra-highlight ruby-compilation rspec-mode robe rjsx-mode rainbow-mode racer prettier-js plantuml-mode php-mode phi-search package-build neotree multiple-cursors move-dup markdown-mode magit-gh-pulls lua-mode linum-relative json-mode imenu-anywhere ido-vertical-mode ido-completing-read+ highlight-symbol highlight-indentation highlight-indent-guides helm-swoop helm-projectile helm-open-github helm-gtags helm-describe-modes helm-descbinds helm-ag go-projectile go-playground gitignore-mode github-browse-file gitconfig-mode git-timemachine git-link full-ack flycheck-rust flycheck-package flycheck-gometalinter fill-column-indicator feature-mode expand-region exec-path-from-shell evil eslintd-fix editorconfig dumb-jump doom-themes dockerfile-mode direx diminish diff-hl company-go coffee-mode cargo buffer-move browse-kill-ring anzu ace-window)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/modules/siren-ruby.el b/modules/siren-ruby.el index f01f898..35ef76a 100644 --- a/modules/siren-ruby.el +++ b/modules/siren-ruby.el @@ -116,6 +116,7 @@ (rspec-install-snippets)) (use-package rubocopfmt + :ensure nil ;; loaded from vendor :commands (rubocopfmt rubocopfmt-mode) :bind (:map ruby-mode-map ("C-c C-f" . rubocopfmt)) diff --git a/vendor/rubocopfmt.el b/vendor/rubocopfmt.el index ba4c200..58445ae 100644 --- a/vendor/rubocopfmt.el +++ b/vendor/rubocopfmt.el @@ -1,7 +1,8 @@ -;;; rubocopfmt.el --- Format ruby code with rubocop +;;; rubocopfmt.el --- Minor-mode to format Ruby code with RuboCop on save -;; Version: 0.1.0 +;; Version: 0.2.2 ;; Keywords: convenience wp edit ruby rubocop +;; Package-Requires: ((cl-lib "0.5")) ;; URL: https://github.com/jimeh/rubocopfmt.el ;; Author: Jim Myhrberg @@ -45,6 +46,8 @@ ;;; Code: +(require 'cl-lib) + (defgroup rubocopfmt nil "Minor mode for formatting Ruby buffers with rubocop." :group 'languages