   "Set the VARIABLE to VALUE, but use `set-default' if needed."
   `(funcall (or (get ',variable 'custom-set) 'set-default) ',variable ,value))
 
-;; (csetq gc-cons-threshold (* 10 gc-cons-threshold))
+(csetq gc-cons-threshold (* 10 gc-cons-threshold))
 
 ;; Apparently, when using default values, the input lag and hangs disappears
 ;; (csetq gc-cons-threshold (* 384 1024 1024))

  :config
  (eyebrowse-mode t))

(use-package flycheck
  :disabled
  :commands (flycheck-mode
             flycheck-select-checker
             flycheck-next-error
             flycheck-previous-error)
  :bind (("C-c f" . user-flycheck-hydra/body)
         ("C-c t f" . flycheck-mode))
  :init

  (csetq flycheck-display-errors-delay 0.0)
  (csetq flycheck-check-syntax-automatically '(save mode-enabled))
  (csetq flycheck-standard-error-navigation nil)
  (csetq flycheck-display-errors-function
         #'flycheck-display-error-messages-unless-error-list)

  :config
  (defhydra user-flycheck-hydra (:color pink)
    "
^
^Flycheck^          ^Errors^            ^Checker^
^────────^──────────^──────^────────────^───────^───────────
_q_ quit            _p_ previous        _?_ describe
_v_ verify setup    _n_ next            _d_ disable
^^                  _f_ check           _s_ select
^^                  _l_ list            ^^
^^                  _w_ copy            ^^
^^                  ^^                  ^^
"
    ("q" nil)
    ("p" flycheck-previous-error)
    ("n" flycheck-next-error)
    ("?" flycheck-describe-checker :color blue)
    ("d" flycheck-disable-checker :color blue)
    ("f" flycheck-buffer)
    ("l" flycheck-list-errors :color blue)
    ("m" flycheck-manual :color blue)
    ("s" flycheck-select-checker :color blue)
    ("v" flycheck-verify-setup :color blue)
    ("w" flycheck-copy-errors-as-kill :color blue))
  (global-flycheck-mode t))


(use-package flymake
  :ensure nil

  :init
  (csetq gdb-many-windows t))

(use-package hexl
  :if (< emacs-major-version 27)
  :ensure nil
  :init
  (csetq hexl-bits 8))

(use-package highlight-symbol
  :diminish
