   :custom
   (minions-mode-line-delimiters '("" . ""))
   :config
-  (push 'flymake-mode minions-direct)
+  (push 'flycheck-mode minions-direct)
   (push 'overwrite-mode minions-direct)
   (minions-mode t))
 

(when (member "Symbola" (font-family-list))
  (set-fontset-font t 'unicode "Symbola" nil 'prepend))

(push `(,(rx string-start "*compilation")
        (display-buffer-reuse-window
         display-buffer-in-side-window)
        (side            . bottom)

  (lsp-ui-sideline-show-symbol nil)
  (lsp-ui-sideline-ignore-duplicate t))

(use-package flycheck
  :ghook ('after-init-hook #'global-flycheck-mode)
  :custom
  (flycheck-keymap-prefix (kbd "M-'"))
  (flycheck-check-syntax-automatically '(save idle-buffer-switch mode-enabled))
  (flycheck-idle-buffer-switch-delay 0.1))

(use-package flycheck-pos-tip
  :after flycheck
  :ghook ('global-flycheck-mode-hook #'flycheck-pos-tip-mode))

(use-package imenu :ensure nil
  :general
