Emacs: Lazy-load cc-mode, git-commit-mode, go-mode.

This commit is contained in:
tastytea 2020-02-18 17:10:02 +01:00
parent f70e68953b
commit 39652ffdcb
3 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-02-11T17:54:11+0100>
;; Time-stamp: <2020-02-18T17:04:30+0100>
;;; Commentary:
@ -57,6 +57,8 @@
;; Set coding style.
(use-package cc-mode
:commands (cc-mode)
:config
(c-add-style ; Construct own coding style definition.
"tastytea"

View File

@ -1,6 +1,6 @@
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-27T05:28:52+0100>
;; Time-stamp: <2020-02-18T17:04:04+0100>
;;; Commentary:
@ -10,6 +10,7 @@
;; Git integration.
(use-package git-commit
:commands (git-commit-mode)
:pin melpa
)

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous programming languages. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-11-14T11:49:23+00:00>
;; Time-stamp: <2020-02-18T17:06:25+0100>
;;; Commentary:
;; Programming languages I don't normally program in and only care about syntax
@ -8,7 +8,10 @@
;;; Code:
(use-package go-mode)
(use-package go-mode
:mode
("\\.go$" . go-mode)
)
(provide 'programming/misc)
;;; misc.el ends here