 
 ;; Pretty mode
 
-(require  'pretty-mode)
+(require-package  'pretty-mode)
 (add-hook 'ruby-mode 'turn-on-pretty-mode)
 (add-hook 'clojure-mode 'turn-on-pretty-mode)
 

       (delete-trailing-whitespace))))


(require 'elixir-mode)

(require 'unicode-fonts)
(unicode-fonts-setup)

(require 'go-mode)
(require 'go-autocomplete)
(require 'go-direx)

(require 'slim-mode)

;; TreeTop
(add-to-list 'load-path "~/.emacs.d/site-lisp")
(require 'treetop-mode)
(autoload 'treetop-mode "treetop-mode" "Major mode for treetop files" t)
(add-to-list 'auto-mode-alist '("\\.tt$" . treetop-mode))
(add-to-list 'interpreter-mode-alist '("treetop" . treetop-mode))

  (load-theme 'aerique-dark t))


(require-package 'rvm)


(defadvice inf-ruby-console-auto (before activate-rvm-for-robe activate)
