 (use-package company-c-headers
   :ensure t)
 
+(use-package stickyfunc-enhance
+  :ensure t
+  :defer t)
+
 (defun maio/electric-semicolon ()
   (interactive)
   (end-of-line)

  (require 'semantic/bovine/gcc)
  ;; (semantic-load-enable-code-helpers)
  ;; (ede-enable-generic-projects)
  (setq company-backends (remove 'company-clang company-backends)
        c-default-style "linux"
        speedbar-show-unknow-files t
        semanticdb-default-save-directory (concat user-emacs-directory ".cache/semanticdb")
        semantic-default-submodes '(global-semantic-idle-scheduler-mode
                                    global-semanticdb-minor-mode
                                    global-semantic-idle-summary-mode

                                    global-semantic-show-parser-state-mode
                                    global-semantic-idle-breadcrumbs-mode
                                    global-semantic-show-unmatched-syntax-mode))
  (semanticdb-enable-gnu-global-databases 'c-mode t)
  (unless (file-exists-p semanticdb-default-save-directory)
    (make-directory semanticdb-default-save-directory)))

(use-package irony
  :ensure t
