   ;; GO Mode for editing go programs
   :ensure t
   :mode "\\.go\\'"
-  :bind (
-         :map go-mode-map
-              ;; Explicitly call lsp-find-references until 
-              ("M-?"       . lsp-find-references)
-              ("C-c C-d"   . lsp-describe-thing-at-point)
-          )
   :config (let (( gopath (getenv "GOPATH")))
             (require 'go-mode)
             (setq gofmt-command "goimports")

(use-package go-dlv
  :ensure t)


(use-package lsp-mode
  :ensure t
  :commands lsp
  :bind (("M-/"   . completion-at-point)
         ("C-?"   . lsp-find-references)
         :map wh-keymap
         ("r f"   . lsp-find-references)
         ("t d"   . lsp-describe-thing-at-point)
         ("d f"   . xref-find-definitions)
         ("i f"   . lsp-find-implementation)
         ("4 d f" . xref-find-definitions-other-window))
  :custom
  ;; Disable the breadcrumbs in the headerline.
  (lsp-headerline-breadcrumb-enable nil)
  (lsp-keymap-prefix "C-c l")
  )

(use-package web-mode
  :ensure t

              :init
              (append org-babel-load-languages '((go . t))))

            (add-hook 'go-mode-hook #'eglot-ensure)

            ))

