From 95a0ad5d94e8cbb779e721a12371199692729af4 Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 1 Mar 2020 15:29:16 -0600 Subject: [PATCH 1/3] Switch to lsp for golang. --- .emacs.d/jlj-golang.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs.d/jlj-golang.el b/.emacs.d/jlj-golang.el index eb54123..cea63ca 100644 --- a/.emacs.d/jlj-golang.el +++ b/.emacs.d/jlj-golang.el @@ -1,6 +1,6 @@ -(use-package eglot +(use-package lsp-mode :ensure t :config - (add-hook 'go-mode-hook 'eglot-ensure) + (add-hook 'go-mode-hook 'lsp-ensure) (local-set-key "\C-x\C-m" 'compile) (setq compile-command "go test -v && go vet && golint")) From 981e78b80aa822342623c5eb346a86f326008140 Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 1 Mar 2020 15:29:31 -0600 Subject: [PATCH 2/3] Packa --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 001abf6..c9f2061 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -42,7 +42,7 @@ '(global-hl-line-mode t) '(package-selected-packages (quote - (poetry yasnippet company-lsp ob-restclient virtualenvwrapper flymake-python-pyflakes lsp-ui lsp-mode jedi znc yaml-mode which-key use-package twittering-mode try smex racer python-mode pylint py-autopep8 powershell pdf-tools outline-magic org2blog multiple-cursors magit helm flycheck-rust eyebrowse exec-path-from-shell emojify elpy ein doom-themes dockerfile-mode docker csharp-mode ansible anaconda-mode ace-window))) + (lsp poetry yasnippet company-lsp ob-restclient virtualenvwrapper flymake-python-pyflakes lsp-ui lsp-mode jedi znc yaml-mode which-key use-package twittering-mode try smex racer python-mode pylint py-autopep8 powershell pdf-tools outline-magic org2blog multiple-cursors magit helm flycheck-rust eyebrowse exec-path-from-shell emojify elpy ein doom-themes dockerfile-mode docker csharp-mode ansible anaconda-mode ace-window))) '(znc-servers (\` (("bouncer.awful.club" 5000 t From cbafe9a8c4ab957365fdd1e71b6f6cfd4148e229 Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 1 Mar 2020 15:33:34 -0600 Subject: [PATCH 3/3] Remove unnecessary paren. --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a027c17..6c5ae74 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -45,7 +45,7 @@ '(znc-servers `(("bouncer.awful.club" 5000 t ((freenode "blindidiotgod/freenode" ,znc-password) - (OFTC "blindidiotgod/OFTC" ,znc-password)))))) + (OFTC "blindidiotgod/OFTC" ,znc-password))))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.