aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'shoshimacs.el')
-rw-r--r--shoshimacs.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index 637d5b0..8a9731d 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -168,10 +168,30 @@
(package-install 'json-mode)
+(add-hook 'ruby-mode-hook #'flymake-mode)
+
(package-install 'inf-ruby)
+(when (executable-find "pry")
+ (setq inf-ruby-default-implementation "pry"))
+
+(defvar minitest-emacs-repo "https://github.com/arthurnn/minitest-emacs.git")
+(defvar minitest-emacs-src-dir "~/src/minitest-emacs")
+
+(unless (file-directory-p minitest-emacs-src-dir)
+ (shell-command
+ (format "git clone %s %s" minitest-emacs-repo minitest-emacs-src-dir)))
+
+(add-to-list 'load-path minitest-emacs-src-dir)
+(require 'minitest)
+
+(package-install 'haml-mode)
+
(package-install 'devdocs)
+(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
+(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
+
;;; Projects
(package-install 'magit)