Add tree-sitter grammars to emacs
Switch rnix to nil
This commit is contained in:
parent
5fc17343cf
commit
53957e2457
|
@ -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
|
||||
]
|
||||
))
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue