summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-prog.el
blob: ab7cc051d6f3f1b996916b65f7e5d37afd655414 (plain) (blame)
1
2
3
4
5
6
7
8
9
(use-package eglot
  :ensure t
  :config
  (define-key eglot-mode-map (kbd "C-c ; g .") 'xref-find-definitions)
  (define-key eglot-mode-map (kbd "C-c ; g ,") 'pop-tag-mark)
  (add-to-list 'eglot-server-programs '(go-mode . ("gopls")))
  (add-hook 'go-mode-hook 'eglot-ensure))

(provide 'fcuny-prog)