mirror of
https://codeberg.org/scip/kage-mode.git
synced 2025-12-16 20:10:58 +01:00
not required
This commit is contained in:
@@ -42,8 +42,7 @@ are go compatible.
|
|||||||
It also supports the use of gofmt -s. If you want to use it, add this
|
It also supports the use of gofmt -s. If you want to use it, add this
|
||||||
to your config:
|
to your config:
|
||||||
|
|
||||||
\(add-hook 'before-save-hook #'kage-gofmt-before-save)"
|
\(add-hook 'before-save-hook #'kage-gofmt-before-save)")
|
||||||
(run-hooks 'kage-mode-hook))
|
|
||||||
|
|
||||||
;; we need to have our own call to gofmt, because the one in go-mode
|
;; we need to have our own call to gofmt, because the one in go-mode
|
||||||
;; only works with *.go files, but we use the original call to it anyway
|
;; only works with *.go files, but we use the original call to it anyway
|
||||||
|
|||||||
Reference in New Issue
Block a user