 (use-package smart-mode-line
   :ensure
   :pre-load (setq sml/no-confirm-load-theme t)
-  :init (sml/setup)
+  :init
+  (sml/setup)
   :config
   (sml/apply-theme 'respectful)
   (set-face-attribute 'mode-line nil

  :config
  (progn 
    (evil-mode t)
    (define-key evil-ex-map (kbd "e ") 'ido-find-file)
    (define-key evil-ex-map (kbd "b ") 'ido-switch-buffer)))

;(use-package vi-tilde-fringe-mode
;  :ensure)

;; Per languages
;(add-hook 'prog-mode-hook 'vi-tilde-fringe-mode)
(add-hook 'emacs-lisp-mode-hook
	  (lambda()
	    (use-package eldoc
	      :ensure
	      :diminish eldoc-mode
	      :init
	      (progn 
		(eldoc-mode t)))
	    (use-package highlight-parentheses
	      :ensure
	      :init
	      (progn 
		(highlight-parentheses-mode t)))
	    (use-package rainbow-delimiters
	      :ensure
	      :init
	      (progn 
		  (rainbow-delimiters-mode t)))
	    (electric-pair-mode t)))

(use-package js2-mode
  :ensure

(load custom-file)

(toggle-truncate-lines t)

; Auto install use-package
(if (not (package-installed-p 'use-package))
