 (map! :localleader
       :map rust-mode-map
 
+      ;; :desc "Go to references"
+      ;; "g r" (lambda () (interactive)
+      ;;         (call-interactively 'lsp-find-references))
+
+      ;; :desc "Go to definition"
+      ;; "g d" (lambda () (interactive)
+      ;;         (call-interactively 'lsp-find-definition))
+
+      ;; :desc "Go to type definition"
+      ;; "g t" (lambda () (interactive)
+      ;;         (call-interactively 'lsp-goto-type-definition))
+
+      ;; :desc "Open error list"
+      ;; "e l" (lambda () (interactive) (lsp-treemacs-errors-list))
+
+      ;; :desc "Next error"
+      ;; "e n" (lambda () (interactive) (next-error))
+
+      ;; :desc "Previous error"
+      ;; "e N" (lambda () (interactive) (previous-error))
+
+      :desc "Code actions"
+      "c a" (lambda () (interactive)
+              (call-interactively 'lsp-execute-code-action))
+
       :desc "Go to references"
       "g r" (lambda () (interactive)
               (call-interactively 'lsp-find-references))

      ;; "g t" (lambda () (interactive)
      ;;         (call-interactively 'lsp-goto-type-definition))

      :desc "Open error list"
      "e l" (lambda () (interactive) (lsp-treemacs-errors-list))

      :desc "Next error"
      "e n" (lambda () (interactive) (next-error))

      :desc "Previous error"
      "e N" (lambda () (interactive) (previous-error))

      :desc "Code actions"
      "c a" (lambda () (interactive)
              (call-interactively 'lsp-execute-code-action))

      :desc "Go to references"
      "g r" (lambda () (interactive)
              (call-interactively 'lsp-find-references))
      :desc "Go to definition"
      "g d" (lambda () (interactive)
              (call-interactively 'lsp-find-definition))

      ;; :desc "Go to type definition"
      ;; "g t" (lambda () (interactive)
      ;;         (call-interactively 'lsp-goto-type-definition))

      :desc "Go to implementation"
      "g i" (lambda () (interactive)
              (call-interactively 'lsp-goto-implementation))

      "r r" (lambda () (interactive)
              (call-interactively 'lsp-rename))

      ;; :desc "Format buffer"
      ;; "b f" (lambda () (interactive)
      ;;         (call-interactively 'lsp-format-buffer))
      )

(after! company
    (setq company-dabbrev-downcase 0)
