about summary refs log tree commit diff
path: root/users/tazjin/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/emacs')
-rw-r--r--users/tazjin/emacs/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index 33dfa5cc115a..1ad77656ca3d 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -89,6 +89,23 @@ pkgs.makeOverridable
       zetteldeft
       zoxide
 
+      # tree-sitter grammars for various ts-modes
+      (treesit-grammars.with-grammars (g: with g; [
+        tree-sitter-bash
+        tree-sitter-c
+        tree-sitter-cmake
+        tree-sitter-cpp
+        tree-sitter-go
+        tree-sitter-java
+        tree-sitter-json
+        tree-sitter-latex
+        tree-sitter-nix
+        tree-sitter-python
+        tree-sitter-rust
+        tree-sitter-toml
+        tree-sitter-yaml
+      ]))
+
       # Wonky stuff
       (currentTelega epkgs)