          (ediff-cleanup . ediff-toggle-wide-display)
          (ediff-suspend . ediff-toggle-wide-display)))
 
+;; Enable imenu
+(add-hook 'prog-mode-hook 'imenu-add-menubar-index)
+
 ;; My personalized shortcuts:
 (global-set-key [kp-left] 'backward-sexp)
 (global-set-key [kp-right] 'forward-sexp)

    (setq auto-mode-alist (delete '("\\.rs\\'" . rust-mode) auto-mode-alist)))

  ;; dart/flutter
  (use-package lsp-dart
    :hook (dart-mode . lsp))

  ;; devicetree mode
  (use-package dts-mode

 '(mouse-yank-at-point t)
 '(org-startup-folded nil)
 '(package-selected-packages
   '(js2-mode eglot company-tabnine rainbow-mode rainbow-delimiters rg ag dts-mode ucs-utils font-utils persistent-soft unicode-fonts ivy-yasnippet yasnippet-snippets lsp coq js-mode notmuch coq-mode go-playground javascript-mode diminish yaml-imenu ws-butler which-key-posframe wanderlust use-package typescript-mode tree-mode toml-mode toml smex simpleclip rustic rust-mode proof-general projectile-speedbar menu-bar+ markdown-preview-mode magit-gh-pulls lsp-ui lsp-pyright lsp-jedi lsp-ivy lsp-dart kotlin-mode jsonrpc jedi ivy-rich ipython-shell-send iedit ido-completing-read+ haskell-mode go-projectile go-autocomplete ghub+ forge flymake flycheck-yamllint flycheck-pyflakes flycheck-posframe flycheck-ocaml flycheck-mypy flycheck-kotlin flx-ido find-file-in-project elpy elpher ein dash-functional counsel company-posframe company-lua company-lsp company-coq ccls cargo browse-kill-ring+ bpftrace-mode bazel async android-mode))
 '(projectile-tags-command "make_TAGS \"%s\" %s")
 '(rustic-display-spinner nil)
 '(rustic-format-trigger 'on-save)
