 (when (member "Symbola" (font-family-list))
   (set-fontset-font t 'unicode "Symbola" nil 'prepend))
 
-(push `(,(rx string-start "*compilation")
+(push `(,(rx string-start "*" (or "Fly" "compilation" "Warnings"))
         (display-buffer-reuse-window
          display-buffer-in-side-window)
         (side            . bottom)

    (c-toggle-auto-newline t)
    (c-toggle-syntactic-indentation t)

    (modify-syntax-entry ?' ".")

    (with-eval-after-load 'lsp-mode
      (setq-local flymake-diagnostic-functions (remove #'flymake-cc flymake-diagnostic-functions))))

  (defun user/c-mode-toggle-funcall ()
    "Transpose multi-line call to one-line and vice-versa."

  (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
