mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-16 12:00:57 +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
|
||||
|
||||
;; 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
1044
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user