     (package-install 'use-package)
     (require 'use-package)))
 (setq use-package-always-ensure t)
+
+(use-package diminish)
 
 ;;; Start of use-package stanzas
 ;; I will somewhat keep to a system of placing options and necessary

                  '(company-pseudo-tooltip-frontend
                    company-echo-metadata-frontend
                    company-preview-frontend))
            (amapm company-active-map
                   "<return>" nil
                   "C-SPC" 'company-complete-selection))
  :diminish company-mode)

(use-package ggtags
  :init

  :config (global-evil-surround-mode 1))

;; Haskell
(use-package haskell-mode
  :defer
  :init (add-hook 'haskell-mode-hook
                  (lambda () (interactive)
                    (setq evil-auto-indent nil)
                    (interactive-haskell-mode)))
  :config
  (progn
    (setq haskell-stylish-on-save t)
    (nmapm 'haskell-mode-map
           "M-." 'haskell-mode-jump-to-def-or-tag)))
(use-package company-ghc
  :after haskell-mode
  :config (add-to-list 'company-backends 'company-ghc))
(use-package company-ghci
  :after haskell-mode
  :config (add-to-list 'company-backends 'company-ghci))

;; R
(use-package ess
  :defer)

