Files
emacs-conf/settings/filetype-settings.el
T
2026-10-11 12:16:55 +02:00

46 lines
1.1 KiB
EmacsLisp

;;; filetype-settings.el --- Summary -*- lexical-binding: t -*-
;;; Commentary:
;;; Requirements:
;; markdown-mode https://melpa.org/#/markdown-mode
;; sql-indent https://elpa.gnu.org/packages/sql-indent.html https://github.com/alex-hhh/emacs-sql-indent
;; sqlup-mode also?
;; systemd https://melpa.org/#/systemd
;;; Code:
(use-package conf-mode
:commands (conf-ts-mode conf-toml-mode))
;; (use-package markdown-mode
;; :commands markdown-mode
;; :mode "\\.md\\'")
;; remove lisp/markdown-mode?
(use-package markdown-ts-mode
:commands markdown-ts-mode
:mode "\\.md\\'"
:config
(require 'markdown-ts-mode-x))
(use-package sql-indent
:commands sqlind-minor-mode)
(use-package systemd
:commands systemd-mode
:mode (("\\.service\\'" . systemd-mode) ("\\.mount\\'" . systemd-mode)))
;; toml: conf-toml-mode via conf-mode
;; other: toml-ts-mode
(use-package valign
:commands (valign-mode valign-table))
(use-package yaml-ts-mode
:commands (yaml-ts-mode)
:mode ("\\.yml\\'" "\\.yaml\\'"))
(provide 'filetype-settings)
;;; filetype-settings.el ends here