Setup Emacs as an IDE for Go
This commit is contained in:
parent
83eb4f8606
commit
d83ce3ab34
2 changed files with 15 additions and 0 deletions
|
|
@ -287,6 +287,19 @@
|
|||
(rustic-lsp-client 'eglot)
|
||||
)
|
||||
|
||||
(use-package go-config
|
||||
:ensure nil
|
||||
:hook
|
||||
(go-ts-mode . eglot-ensure)
|
||||
:init
|
||||
(setq auto-mode-alist
|
||||
(map-merge 'list
|
||||
'(("\\.go\\'" . go-ts-mode)
|
||||
("/go\\.mod\\'" . go-mod-ts-mode)
|
||||
("/go\\.work\\'" . go-work-ts-mode))
|
||||
auto-mode-alist))
|
||||
)
|
||||
|
||||
(use-package gptel
|
||||
:custom
|
||||
; keep-sorted start
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ DEB_PKGS=(
|
|||
fuzzel
|
||||
gdb
|
||||
gnumeric
|
||||
gopls
|
||||
graphviz
|
||||
grim
|
||||
guile-3.0
|
||||
|
|
@ -92,6 +93,7 @@ DEB_PKGS=(
|
|||
META_PKGS=(
|
||||
# keep-sorted start
|
||||
fonts-noto
|
||||
golang
|
||||
podman-compose
|
||||
# keep-sorted end
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue