Replace electric-indent-mode and paredit with smartparens

This commit is contained in:
Bozhidar Batsov 2013-06-29 11:09:16 +03:00
parent f76aab7491
commit 427bc31866
5 changed files with 15 additions and 16 deletions

View file

@ -33,7 +33,9 @@
;;; Code:
(require 'prelude-programming)
(prelude-ensure-module-deps '(ruby-tools inf-ruby yari ruby-end))
(require 'smartparens-ruby)
(prelude-ensure-module-deps '(ruby-tools inf-ruby yari))
;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles.
(add-to-list 'auto-mode-alist '("\\.rake\\'" . ruby-mode))
@ -59,7 +61,6 @@
(inf-ruby-setup-keybindings)
;; turn off the annoying input echo in irb
(setq comint-process-echoes t)
(ruby-end-mode +1)
(ruby-tools-mode +1)
;; CamelCase aware editing operations
(subword-mode +1))