   "Toggle fullscreen."
   (interactive)
   (set-frame-parameter nil 'fullscreen
-		       (if (frame-parameter nil 'fullscreen) nil 'fullboth)))
+                       (if (frame-parameter nil 'fullscreen) nil 'fullboth)))
 
 (defun aim/revert-buffer-now ()
   "Revert-(current-buffer) asking no questions."

(unless (functionp 'module-load)
  (error "**** you don't have modules enabled ****"))

(and (boundp 'use-package-report)
     (use-package-report))

(setq debug-on-error t)

(put 'narrow-to-region 'disabled nil)

(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
      backup-by-copying t
      backup-directory-alist `((".*" . ,(locate-user-emacs-file "backups")))
      delete-old-versions t
      enable-recursive-minibuffers t
      inhibit-startup-message t
      kept-new-versions 20
      kept-old-versions 10
      mouse-yank-at-point nil
      require-final-newline t
      ring-bell-function #'ignore
      sentence-end-double-space nil
      truncate-lines t
      use-dialog-box nil
      vc-follow-symlinks t
      version-control t
      ;; prevent cursor blinking in remote terminal sessions.
      visible-cursor nil)

(setq use-package-always-defer nil
      use-package-always-ensure t

(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))

