Add some configuration for a few basic languages

This commit is contained in:
Jesse Braham 2025-02-10 15:15:56 +01:00
parent b3661e5069
commit bc343c2677
4 changed files with 20 additions and 1 deletions

View File

@ -44,6 +44,7 @@
(load-user-file "typography.el")
(load-user-dir "pkg")
(load-user-dir "lang")
;; WARNING: Don't touch anything after this comment!
@ -54,7 +55,7 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(yasnippet which-key super-save solaire-mode smartparens rainbow-delimiters magit hl-todo git-gutter flycheck diminish crux)))
'(yaml-mode toml-mode markdown-mode yasnippet which-key super-save solaire-mode smartparens rainbow-delimiters magit hl-todo git-gutter flycheck diminish crux)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

8
lang/markdown.el Normal file
View File

@ -0,0 +1,8 @@
;; Markdown
;; https://github.com/jrblevin/markdown-mode
(use-package markdown-mode
:ensure t
:mode
("README\\.md\\'" . gfm-mode)
:init
(setq markdown-command "multimarkdown"))

5
lang/toml.el Normal file
View File

@ -0,0 +1,5 @@
;; TOML
;; https://github.com/dryman/toml-mode.el
(use-package toml-mode
:ensure t
:defer t)

5
lang/yaml.el Normal file
View File

@ -0,0 +1,5 @@
;; YAML
;; https://github.com/yoshiki/yaml-mode
(use-package yaml-mode
:ensure t
:defer t)