summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/mm-treesit.el5
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\\'"))