Skip to content

Commit

Permalink
Markdown/yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
regob committed Oct 7, 2024
1 parent d154f53 commit ae724d4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@
(global-so-long-mode))

(use-package ess)
(use-package markdown-mode)
(use-package csv-mode)

(require 'init-tex nil nil)
(require 'init-sh nil nil)
Expand All @@ -163,6 +161,7 @@
(require 'init-cc nil nil)
(require 'init-web nil nil)
(require 'init-org nil nil)
(require 'init-markup nil nil)
(require 'init-powershell nil nil)
(require 'init-shell nil nil)

Expand All @@ -183,6 +182,8 @@
(require 'init-minibuffer nil nil)
(require 'init-utils nil nil)

(elpaca-process-queues)

;; =========================
;; Trailer
;; =========================
Expand Down
21 changes: 21 additions & 0 deletions lisp/init-markup.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
;;; init-markup.el --- Markup language config -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-package yaml-mode
:init
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))
)

(use-package markdown-mode
:config
(setq markdown-command "pandoc")
:custom-face
(markdown-code-face ((t (:inherit org-code))))
)
(use-package csv-mode)

(provide 'init-markup)

;;; init-markup.el ends here

0 comments on commit ae724d4

Please sign in to comment.