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