diff options
| author | Thomas Voss <thomas.voss@humanwave.nl> | 2026-02-27 10:32:29 +0100 |
|---|---|---|
| committer | Thomas Voss <thomas.voss@humanwave.nl> | 2026-02-27 10:33:17 +0100 |
| commit | 90a3205fb7c197f6e997e66e8771e52b7efa2e5c (patch) | |
| tree | 4afa6baec6b27dc757acbe182efb0f3d23b8cf90 /.config/emacs | |
| parent | d022b8078a670a8f919d22b44cd1a8b8c49614d4 (diff) | |
emacs: Dockerfile and Rust support
Diffstat (limited to '.config/emacs')
| -rw-r--r-- | .config/emacs/modules/mm-treesit.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/emacs/modules/mm-treesit.el b/.config/emacs/modules/mm-treesit.el index 8d9b3d5..909dadb 100644 --- a/.config/emacs/modules/mm-treesit.el +++ b/.config/emacs/modules/mm-treesit.el @@ -23,6 +23,8 @@ "https://github.com/tree-sitter/tree-sitter-cpp") (css "https://github.com/tree-sitter/tree-sitter-css") + (dockerfile + "https://github.com/camdencheek/tree-sitter-dockerfile") (elixir "https://github.com/elixir-lang/tree-sitter-elixir") (go @@ -49,6 +51,8 @@ "split_parser" "tree-sitter-markdown-inline/src") (python "https://github.com/tree-sitter/tree-sitter-python") + (rust + "https://github.com/tree-sitter/tree-sitter-rust") (tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src") @@ -127,6 +131,7 @@ The parsers are taken from `treesit-language-source-alist'." (gomod . "/go\\.mod\\'") (heex . "\\.heex\\'") (json . "\\.json\\'") + (rust . "\\.rs\\'") (tsx . "\\.tsx\\'") (typescript . "\\.ts\\'") (yaml . "\\.ya?ml\\'")) |