   :init
   (add-hook 'prog-mode-hook 'highlight-thing-mode)
   :config
-  (setq highlight-thing-delay-seconds 0)
+  (setq highlight-thing-delay-seconds 0
+        highlight-thing-exclude-thing-under-point t
+        highlight-thing-case-sensitive-p t)
   (set-face-attribute 'highlight-thing nil
                       :foreground "gold"
                       :background "#23272e"))


(use-package dashboard
  :ensure t
  :config
  (setq dashboard-items '((recents   . 5)
                          (bookmarks . 5)
                          (projects  . 5)
                          (agenda    . 10)
                          (registers . 5))
        dashboard-banner-logo-title "Welcome to MDS Emacs"
        dashboard-startup-banner dashboard-banner-logo-png)
  (dashboard-setup-startup-hook))

(use-package all-the-icons
  :ensure t


;;; Code:
(add-hook 'prog-mode-hook 'display-line-numbers-mode)

(use-package doom-themes
  :ensure t
  :config
  (setq Info-fontify-angle-bracketed-flag nil)
  (doom-themes-visual-bell-config)
  (load-theme 'doom-one t)
  (when (member "DejaVu Sans Mono" (font-family-list)))
  (progn
    (set-face-attribute 'default nil :font "DejaVu Sans Mono 12")
    (set-face-attribute 'mode-line nil :font "DejaVu Sans Mono 10"))
  (when (member "Source Code Pro" (font-family-list))
    (progn
      (set-face-attribute 'default nil :font "Source Code Pro-12")
      (set-face-attribute 'mode-line nil :font "Source Code Pro-10")))
  (when (member "Hack" (font-family-list))
    (progn
      (set-face-attribute 'default nil :font "Hack 12")
      (set-face-attribute 'mode-line nil :font "Hack 10")))
  (setq line-spacing 0.10)
  (set-face-attribute 'line-number-current-line nil
                      :weight 'bold
                      :foreground "white"
                      :background "#23272e"))

(use-package telephone-line
  :ensure t
  :init
  (add-hook 'after-init-hook 'telephone-line-mode)
  :config
  (require 'telephone-line-utils)
  (setq telephone-line-height 22
        telephone-line-primary-left-separator    'telephone-line-gradient
        telephone-line-secondary-left-separator  'telephone-line-nil
        telephone-line-primary-right-separator   'telephone-line-gradient
        telephone-line-secondary-right-separator 'telephone-line-nil))

(use-package hl-line
  :commands hl-line-mode global-hl-line-mode
  :init
  (add-hook 'prog-mode-hook 'hl-line-mode)
  (add-hook 'hl-line-mode-hook (lambda () (remove-overlays (point-min) (point-max) 'face 'hl-line)))
  :config
  (setq hl-line-sticky-flag nil
        global-hl-line-sticky-flag nil))
