diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-01-17 21:25:56 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-01-17 21:25:56 +0100 |
| commit | 826a4636113c8dd5e2fec06f5dc0c2aa47a07cfa (patch) | |
| tree | 14ba9825143381cadab64ba432bcd44f3f4a45ed /.config/emacs/modules | |
| parent | 188c7bcee8903330c59e13390c36a9896401c318 (diff) | |
| parent | 219b79ccd842e73a9862b521b6ed7a5985cba999 (diff) | |
Merge branch 'master' of github.com:Mango0x45/dotfiles
Diffstat (limited to '.config/emacs/modules')
| -rw-r--r-- | .config/emacs/modules/mm-abbrev.el | 6 | ||||
| -rw-r--r-- | .config/emacs/modules/mm-editing.el | 4 | ||||
| -rw-r--r-- | .config/emacs/modules/mm-modeline.el | 2 | ||||
| -rw-r--r-- | .config/emacs/modules/mm-treesit.el | 7 |
4 files changed, 13 insertions, 6 deletions
diff --git a/.config/emacs/modules/mm-abbrev.el b/.config/emacs/modules/mm-abbrev.el index 66ca8d7..0f37cda 100644 --- a/.config/emacs/modules/mm-abbrev.el +++ b/.config/emacs/modules/mm-abbrev.el @@ -43,9 +43,9 @@ case-sensitive to avoid unexpected abbreviation expansions." "fpf" "fprintf" "fuf" "funlockfile" "pf" "printf" - "sde" "stderr" - "sdi" "stdin" - "sdo" "stdout") + "sde" "stderr" + "sdi" "stdin" + "sdo" "stdout") (with-eval-after-load 'cc-mode (setq c-mode-abbrev-table (copy-abbrev-table mm-c-mode-abbrev-table) diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el index 6054f5a..58c015b 100644 --- a/.config/emacs/modules/mm-editing.el +++ b/.config/emacs/modules/mm-editing.el @@ -396,6 +396,10 @@ is as described by `emmet-expand-line'." :vc-backend Git) :ensure t) +(use-package yaml-pro + :hook ((yaml-mode . yaml-pro-mode) + (yaml-ts-mode . yaml-pro-ts-mode))) + ;;; Mode-Specific Configurations diff --git a/.config/emacs/modules/mm-modeline.el b/.config/emacs/modules/mm-modeline.el index 44fc115..57f464d 100644 --- a/.config/emacs/modules/mm-modeline.el +++ b/.config/emacs/modules/mm-modeline.el @@ -39,7 +39,7 @@ (defconst mm-modeline-mode-acronyms '("css" "csv" "gsp" "html" "json" "mhtml" "rfc" "scss" "sql" "toml" "tsv" - "url") + "url" "yaml") "List of acronyms in major mode names that should be capitalized.") (defconst mm-modeline-remap-alist diff --git a/.config/emacs/modules/mm-treesit.el b/.config/emacs/modules/mm-treesit.el index bd146ce..6c572ca 100644 --- a/.config/emacs/modules/mm-treesit.el +++ b/.config/emacs/modules/mm-treesit.el @@ -54,7 +54,9 @@ (vim "https://github.com/tree-sitter-grammars/tree-sitter-vim") (vue - "https://github.com/ikatyang/tree-sitter-vue"))) + "https://github.com/ikatyang/tree-sitter-vue") + (yaml + "https://github.com/tree-sitter-grammars/tree-sitter-yaml"))) ;;; Install Missing Parsers @@ -120,7 +122,8 @@ The parsers are taken from `treesit-language-source-alist'." (gomod . "/go\\.mod\\'") (json . "\\.json\\'") (tsx . "\\.tsx\\'") - (typescript . "\\.ts\\'")) + (typescript . "\\.ts\\'") + (yaml . "\\.ya?ml\\'")) "Alist mapping languages to their associated file-names. This alist is a set of pairs of the form (LANG . REGEXP) where LANG is the symbol corresponding to a major mode with the `-ts-mode' suffix |