From a187752c824b47052d33d3bc12749b5a7d2e8191 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 1 Jun 2023 19:35:59 -0700 Subject: 🤡 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852 --- emacs/custom/my-lang-go.el | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 emacs/custom/my-lang-go.el (limited to 'emacs/custom/my-lang-go.el') diff --git a/emacs/custom/my-lang-go.el b/emacs/custom/my-lang-go.el deleted file mode 100644 index 7dde8c4..0000000 --- a/emacs/custom/my-lang-go.el +++ /dev/null @@ -1,25 +0,0 @@ -;;; my-lang-go.el --- configure emacs for go -*- lexical-binding: t -*- -;; Author: Franck Cuny - -;;; Commentary: - -;;; Code: - -(require 'go-mode) -(require 'gotest) -(require 'eglot) - -(add-hook 'go-mode-hook 'eglot-ensure) - -(add-hook 'go-mode-hook - (lambda () - (setq tab-width 4) - (setq compile-command "go build -v && go test -v && go vet"))) - -(add-hook 'go-mode-hook - (lambda() - (add-hook 'before-save-hook 'eglot-format-buffer nil t))) - -(provide 'my-lang-go) - -;;; my-lang-go.el ends here -- cgit 1.4.1