Add tree-sitter grammars to emacs

Switch rnix to nil
This commit is contained in:
Nathan McCarty 2024-12-02 06:35:45 +00:00
parent 5fc17343cf
commit 53957e2457

View file

@ -30,7 +30,7 @@ in
# For spelling
myAspell
# For nix
# rnix-lsp
nil
manix
nix-doc
# For email
@ -53,12 +53,20 @@ in
programs.emacs = {
enable = true;
package = emacsPackage';
extraPackages = epkgs: [
epkgs.mu4e
epkgs.vterm
epkgs.pdf-tools
epkgs.emacsql
epkgs.emacsql-sqlite
];
extraPackages =
epkgs: with pkgs; [
epkgs.mu4e
epkgs.vterm
epkgs.pdf-tools
epkgs.emacsql
epkgs.emacsql-sqlite
(tree-sitter.withPlugins (
grammars: with grammars; [
tree-sitter-nix
tree-sitter-rust
tree-sitter-toml
]
))
];
};
}