mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
added golang
This commit is contained in:
12
.emacs
12
.emacs
@@ -1,4 +1,4 @@
|
|||||||
;; Toms Emacs Config - portable - version ("20201126.01") -*-emacs-lisp-*-
|
;; Toms Emacs Config - portable - version ("20210501.01") -*-emacs-lisp-*-
|
||||||
;; * Introduction
|
;; * Introduction
|
||||||
|
|
||||||
;; This is my emacs config, it is more than twenty years old. It
|
;; This is my emacs config, it is more than twenty years old. It
|
||||||
@@ -797,6 +797,9 @@
|
|||||||
;; 20201126.01
|
;; 20201126.01
|
||||||
;; - -gh
|
;; - -gh
|
||||||
|
|
||||||
|
;; 20210501.01
|
||||||
|
;; - added golang support
|
||||||
|
|
||||||
;; ** TODO
|
;; ** TODO
|
||||||
|
|
||||||
;; - check helpful https://github.com/wilfred/helpful
|
;; - check helpful https://github.com/wilfred/helpful
|
||||||
@@ -824,7 +827,7 @@
|
|||||||
;; My emacs config has a version (consisting of a timestamp with a
|
;; 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
|
;; serial), which I display in the mode line. So I can clearly see, if
|
||||||
;; I'm using an outdated config somewhere.
|
;; 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
|
;; ** Text Modes
|
||||||
;; *** sgml
|
;; *** sgml
|
||||||
|
|
||||||
|
|||||||
1044
emacs.html
1044
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user