   (defvar doom--hl-nlinum-line nil)
   :init
   (add-hook!
-    (markdown-mode prog-mode scss-mode web-mode conf-mode)
+    (markdown-mode prog-mode scss-mode web-mode conf-mode groovy-mode nxml-mode)
     'nlinum-mode)
-  (add-hook! 'nlinum-mode-hook
+  ;; FIXME This only works if hl-line is active!
+  (add-hook! nlinum-mode
     (if nlinum-mode-hook
         (add-hook 'post-command-hook 'doom|nlinum-hl-line nil t)
       (remove-hook 'post-command-hook 'doom|nlinum-hl-line t)))

  ;; Disable line highlight in visual mode
  (add-hook 'evil-visual-state-entry-hook 'doom|hl-line-off)
  (add-hook 'evil-visual-state-exit-hook  'doom|hl-line-on))

(use-package visual-fill-column :defer t
  :config
  (setq-default visual-fill-column-center-text nil
                visual-fill-column-width fill-column
                split-window-preferred-function 'visual-line-mode-split-window-sensibly))

(use-package highlight-indentation
  :commands (highlight-indentation-mode

        beacon-blink-when-point-moves-vertically 10))

(use-package hl-line
  :init (add-hook 'prog-mode-hook 'hl-line-mode)
  :config
  ;; Doesn't seem to play nice in emacs 25+
  (setq hl-line-sticky-flag nil
