   :custom
   (imenu-auto-rescan t "Rescan before showing results")
   (imenu-auto-rescan-maxout (* 2 1024 1024) "Ignore buffers bigger than this"))
-
-(use-package imenu-anywhere
-  :general
-  (:keymaps 'prog-mode-map
-            "M-I" #'imenu-anywhere))
 
 (use-package yasnippet
   :custom

    (isearch-update))

  :general
  (:keymaps 'isearch-mode-map
            "M-o"            #'isearch-occur
            "<tab>"          #'isearch-repeat-forward
            "<backtab>"      #'isearch-repeat-backward
            "<C-backspace>"  #'isearch-delete-previous)

  :custom
  (isearch-lazy-count t)

  ;; (lsp-print-performance t)

  :config
  (csetq lsp-clients-clangd-args
         '("-j=6"
           "--all-scopes-completion"
           "--completion-style=detailed"
           "--header-insertion=never"
           "--pch-storage=memory"
           "--background-index"
           "--cross-file-rename"
           "--clang-tidy"
           "--suggest-missing-includes"
           "--log=error")))

(use-package lsp-ui
  :commands lsp-ui-mode
