 
 (setq company-frontends
       '(company-pseudo-tooltip-unless-just-one-frontend
-	company-preview-frontend
-	company-echo-metadata-frontend))
+        company-preview-frontend
+        company-echo-metadata-frontend))
 
 ;;(setq company-auto-complete 'never)
 ;;(company-tng-configure-default)


(use-package dumb-jump
  :bind (("M-g o" . dumb-jump-go-other-window)
	 ("M-g j" . dumb-jump-go)
	 ("M-g b" . dumb-jump-back)
	 ("M-g i" . dumb-jump-go-prompt)
	 ("M-g x" . dumb-jump-go-prefer-external)
	 ("M-g z" . dumb-jump-go-prefer-external-other-window))
  :config (setq dumb-jump-selector 'helm
		dumb-jump-debug nil
		dumb-jump-prefer-searcher 'rg)
  :hook (prog-mode . dumb-jump-mode)
  :ensure t)

(eval-after-load "dumb-jump"
  (add-hook 'go-mode 'my-dumb-jump-mode-hook))

;; Fix trailing spaces but only in modified lines
(use-package ws-butler
  :hook (prog-mode . ws-butler-mode))

(use-package server
  :config (or (server-running-p) (server-mode)))

(use-package langtool
  :bind (:map git-commit-mode-map
	      ("C-x `" . langtool-correct-buffer))
  :config
  (setq langtool-http-server-host "localhost"
	langtool-http-server-port 8081
	langtool-default-language "en-GB"))

(use-package ispell
  :config

  :config
  (progn
    (setq recentf-auto-cleanup 'never
          recentf-max-saved-items 100)
    (recentf-mode 1)))

(add-to-list 'recentf-exclude
             (expand-file-name "~/.emacs.d/elpa"))

(defun uniquify-all-lines-region (start end)
  "Find duplicate lines in region START to END keeping first occurrence."
