make go mode lsp bindings local

This commit is contained in:
2023-05-16 19:40:09 +02:00
parent 48d6eb7528
commit bf9f6ff5dd

View File

@@ -24,9 +24,13 @@
(add-hook 'go-mode-hook #'ivy-mode) (add-hook 'go-mode-hook #'ivy-mode)
;; overwrite dump-jump settions here ;; overwrite dump-jump settions here
(bind-key* (kbd "C-c j") #'lsp-find-definition) ;; (bind-key* (kbd "C-c j") #'lsp-find-definition)
(bind-key* (kbd "C-c b") #'xref-pop-marker-stack) ;; (bind-key* (kbd "C-c b") #'xref-pop-marker-stack)
)) )
:bind (:map go-mode-map
( "C-c j" . #'lsp-find-definition)
("C-c b" . #'xref-pop-marker-stack)))
(provide 'init-go) (provide 'init-go)