   ;;; printf -v ARGS "%q " "$@"
   ;;; exec ssh notmuch notmuch ${ARGS}
   (setq notmuch-saved-searches
-	'((:key "i" :name "inbox" :query "tag:inbox")
-	  (:key "u" :name "unread" :query "tag:unread")
-	  (:key "g" :name "github/mentions" :query "tag:github/mentions is:unread")
-	  (:key "b" :name "bugs" :query "tag:bugs date:today")
-	  (:key "T" :name "today" :query "date:today and not tag:trash")
-	  (:key "U" :name "unread today" :query "date:today is:unread")
-	  (:key "F" :name "flagged" :query "tag:flagged")
-	  (:key "S" :name "sent" :query "tag:Sent Mail"))))
+        '((:key "i" :name "inbox" :query "tag:inbox")
+          (:key "u" :name "unread" :query "tag:unread")
+          (:key "g" :name "github/mentions" :query "tag:github/mentions is:unread")
+          (:key "b" :name "bugs" :query "tag:bugs date:today")
+          (:key "T" :name "today" :query "date:today and not tag:trash")
+          (:key "U" :name "unread today" :query "date:today is:unread")
+          (:key "F" :name "flagged" :query "tag:flagged")
+          (:key "S" :name "sent" :query "tag:Sent Mail"))))
 
 (use-package langtool
   :config
   (setq langtool-http-server-host "localhost"
-	langtool-http-server-port 8081
-	langtool-default-language "en-GB")
+        langtool-http-server-port 8081
+        langtool-default-language "en-GB")
   :commands (langtool-correct-buffer)
   :bind
   (:map git-commit-mode-map
-	("C-x `" . langtool-correct-buffer)))
+        ("C-x `" . langtool-correct-buffer)))
 
 (use-package company
   :diminish
   :commands (company-select-next-or-abort
-	     company-select-previous-or-abort)
+             company-select-previous-or-abort)
   :custom ((company-idle-delay 0)
-	   (company-tooltip-limit 25)
-	   (company-minimum-prefix-length 3)
-	   (company-echo-delay 0)
-	   (company-require-match nil)
-	   (company-tooltip-align-annotations t) ; Align annotation to the right side.
-	   (company-auto-complete nil))
+           (company-tooltip-limit 25)
+           (company-minimum-prefix-length 3)
+           (company-echo-delay 0)
+           (company-require-match nil)
+           (company-tooltip-align-annotations t) ; Align annotation to the right side.
+           (company-auto-complete nil))
   :bind (:map company-active-map
-	      ("C-n" . company-select-next-or-abort)
-	      ("C-p" . company-select-previous-or-abort))
+              ("C-n" . company-select-next-or-abort)
+              ("C-p" . company-select-previous-or-abort))
   :hook (after-init . global-company-mode))
 
 (setq read-process-output-max (* 8 (* 1024 1024)))

  :config
  (recentf-mode 1)
  (setq recentf-max-menu-items 32
	recentf-max-saved-items 32)
  :bind ("C-x C-r" . recentf-open-files))

(use-package lsp-ui

(defun add-d-to-ediff-mode-map ()
  (define-key ediff-mode-map "d" 'ediff-copy-both-to-C))

(use-package ediff
  :config
  (add hook 'ediff-keymap-setup-hook 'add-d-to-ediff-mode-map))

(use-package flycheck
  :config
  (add-hook 'after-init-hook #'global-flycheck-mode))

(use-package guess-offset)

(use-package cc-mode
  :config
  (define-key c-mode-base-map (kbd "RET") 'newline-and-indent))
