added golang

This commit is contained in:
Thomas von Dein
2021-05-01 13:15:16 +02:00
parent e35204455a
commit 76ce84c43b
2 changed files with 542 additions and 514 deletions

12
.emacs
View File

@@ -1,4 +1,4 @@
;; Toms Emacs Config - portable - version ("20201126.01") -*-emacs-lisp-*-
;; Toms Emacs Config - portable - version ("20210501.01") -*-emacs-lisp-*-
;; * Introduction
;; This is my emacs config, it is more than twenty years old. It
@@ -797,6 +797,9 @@
;; 20201126.01
;; - -gh
;; 20210501.01
;; - added golang support
;; ** TODO
;; - check helpful https://github.com/wilfred/helpful
@@ -824,7 +827,7 @@
;; My emacs config has a version (consisting of a timestamp with a
;; serial), which I display in the mode line. So I can clearly see, if
;; I'm using an outdated config somewhere.
(defvar tvd-emacs-version "20201126.01")
(defvar tvd-emacs-version "20210501.01")
;; --------------------------------------------------------------------------------
@@ -2555,6 +2558,11 @@ respectively."
;; --------------------------------------------------------------------------------
;; *** Go Lang
(autoload 'go-mode "go-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
;; --------------------------------------------------------------------------------
;; ** Text Modes
;; *** sgml

1044
emacs.html

File diff suppressed because it is too large Load Diff