aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-lang.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-17 23:27:03 +0800
committerGuangxiong Lin <[email protected]>2022-03-17 23:27:03 +0800
commitad117e053ac537d079797c330d84589f1e9f7412 (patch)
tree2c4ec2022c4cbc5ee9417f2ef70573f9c20d108d /.emacs.d/lisp/init-lang.el
parent919fbc2561a19c676f759f328f43713968cfd25b (diff)
downloaddotfiles-ad117e053ac537d079797c330d84589f1e9f7412.tar.gz
dotfiles-ad117e053ac537d079797c330d84589f1e9f7412.tar.bz2
dotfiles-ad117e053ac537d079797c330d84589f1e9f7412.zip
Rearrange go env in emacs
Diffstat (limited to '.emacs.d/lisp/init-lang.el')
-rw-r--r--.emacs.d/lisp/init-lang.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/.emacs.d/lisp/init-lang.el b/.emacs.d/lisp/init-lang.el
index 2d818a4..b96fd92 100644
--- a/.emacs.d/lisp/init-lang.el
+++ b/.emacs.d/lisp/init-lang.el
@@ -3,15 +3,6 @@
(with-eval-after-load 'ledger-mode
(setq ledger-default-date-format ledger-iso-date-format))
-(when (gx/maybe-require-package 'go-mode)
- (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
- (add-hook 'go-mode-hook (lambda () (setq tab-width 4))))
-
-(gx/maybe-require-package 'go-dlv)
-
-(when (gx/maybe-require-package 'eglot)
- (add-hook 'go-mode-hook 'eglot-ensure))
-
(gx/maybe-require-package 'realgud)
(setq plantuml-jar-path "~/.local/bin/plantuml.jar"
@@ -25,6 +16,4 @@
(with-eval-after-load 'org
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))))
-(gx/diminish 'eldoc-mode)
-
(provide 'init-lang)