mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(go): remove bind to deprecated function
‘go-remove-unused-imports’ is an obsolete command (as of 1.7.0); set ‘gofmt-command’ to goimports instead, or use LSP and gopls’s "Organize Imports" code action. Ref: dominikh/go-mode.el@166dfb1e09
This commit is contained in:
committed by
Henrik Lissner
parent
0d363045c5
commit
9ebd9cb734
@ -25,8 +25,7 @@
|
||||
(:prefix ("h" . "help")
|
||||
"." #'godoc-at-point) ; Lookup in godoc
|
||||
(:prefix ("ri" . "imports")
|
||||
"a" #'go-import-add
|
||||
"r" #'go-remove-unused-imports)
|
||||
"a" #'go-import-add)
|
||||
(:prefix ("b" . "build")
|
||||
:desc "go run ." "r" (cmd! (compile "go run ."))
|
||||
:desc "go build" "b" (cmd! (compile "go build"))
|
||||
|
Reference in New Issue
Block a user