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:
parent
0d363045c5
commit
9ebd9cb734
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@
|
||||||
(:prefix ("h" . "help")
|
(:prefix ("h" . "help")
|
||||||
"." #'godoc-at-point) ; Lookup in godoc
|
"." #'godoc-at-point) ; Lookup in godoc
|
||||||
(:prefix ("ri" . "imports")
|
(:prefix ("ri" . "imports")
|
||||||
"a" #'go-import-add
|
"a" #'go-import-add)
|
||||||
"r" #'go-remove-unused-imports)
|
|
||||||
(:prefix ("b" . "build")
|
(:prefix ("b" . "build")
|
||||||
:desc "go run ." "r" (cmd! (compile "go run ."))
|
:desc "go run ." "r" (cmd! (compile "go run ."))
|
||||||
:desc "go build" "b" (cmd! (compile "go build"))
|
:desc "go build" "b" (cmd! (compile "go build"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue