diff options
| author | Thomas Voss <thomas.voss@humanwave.nl> | 2025-12-22 13:18:13 +0200 |
|---|---|---|
| committer | Thomas Voss <thomas.voss@humanwave.nl> | 2025-12-22 13:18:13 +0200 |
| commit | 219b79ccd842e73a9862b521b6ed7a5985cba999 (patch) | |
| tree | 3faec3dff7706499b3e6e7dd5a15fbd8d1d3a5af /.config/emacs/modules/mm-treesit.el | |
| parent | 1ee82918ed3d0bbbe3df047eaf9f5cb70e4b36db (diff) | |
emacs: YAML support
Diffstat (limited to '.config/emacs/modules/mm-treesit.el')
| -rw-r--r-- | .config/emacs/modules/mm-treesit.el | 7 |
1 files changed, 5 insertions, 2 deletions
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 |