   ;;; 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 20)
-           (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 20)
+	   (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))
 
 (use-package flycheck)

(use-package lsp-mode
  :init
  (setq lsp-keymap-prefix "C-c l"
        lsp-enable-file-watchers nil
        lsp-enable-on-type-formatting nil
        lsp-enable-snippet nil
        lsp-prefer-capf t
        lsp-prefer-flymake nil)
  :config
  (add-to-list 'lsp-file-watch-ignored "[/\\\\]\\.direnv$")
  (lsp-enable-which-key-integration t)
  :bind (("C-c d" . lsp-describe-thing-at-point)
         ("C-c e n" . flycheck-next-error)
         ("C-c e p" . flycheck-previous-error)
         ("C-c e l" . flycheck-list-errors)
         ("C-c e r" . lsp-find-references)
         ("C-c e R" . lsp-rename)
         ("C-c e i" . lsp-find-implementation)
         ("C-c e t" . lsp-find-type-definition))
  :commands
  (lsp lsp-deferred ls-rename lsp-find-references lsp-find-implementation lsp-find-type-definition))



(use-package smex
  :bind (("M-x" . smex)
	 ("M-X" . smex-major-mode-commands))
  :config
  (smex-initialize))

