gocode는 결국 gopls로 대체. gopls 시대의 emacs 설정은
(defun isr-go-mode-hook ()
(lsp-deferred)
(setq lsp-idle-delay 0.500)
(add-hook 'before-save-hook #'lsp-format-buffer t t)
(add-hook 'before-save-hook #'lsp-organize-imports t t)
(local-set-key (kbd "M-*") 'pop-tag-mark)
(require 'yasnippet)
(yas-minor-mode)
(hl-todo-mode))
(add-hook 'go-mode-hook 'isr-go-mode-hook)
댓글 없음:
댓글 쓰기