emacs with tree-sitter and stuff

This commit is contained in:
Janis 2025-07-27 01:36:00 +02:00
parent d02fba2d0e
commit f32204ffce

View file

@ -7,6 +7,8 @@ let
rev = "39d889549f2b0b5c5392852daa862437e080a710"; rev = "39d889549f2b0b5c5392852daa862437e080a710";
}; };
in { in {
# TODO: turn this into a FHS or package so these dependencies don't have to be
# accessible from the global namespace.
home.packages = with pkgs; [ home.packages = with pkgs; [
emacs emacs
enchant # spell checking enchant # spell checking
@ -15,19 +17,22 @@ in {
nodejs_24 nodejs_24
copilot-language-server-fhs copilot-language-server-fhs
cmake cmake
libtool
gnumake
gcc gcc
tree-sitter
texlive.combined.scheme-full texlive.combined.scheme-full
# tree-sitter-grammars.tree-sitter-c (tree-sitter.withPlugins (grammars: with grammars; [
# tree-sitter-grammars.tree-sitter-cpp tree-sitter-bash
# tree-sitter-grammars.tree-sitter-zig tree-sitter-nix
# tree-sitter-grammars.tree-sitter-nix tree-sitter-toml
# tree-sitter-grammars.tree-sitter-toml tree-sitter-elisp
# tree-sitter-grammars.tree-sitter-wgsl tree-sitter-rust
# tree-sitter-grammars.tree-sitter-rust tree-sitter-cpp
# tree-sitter-grammars.tree-sitter-bash tree-sitter-c
# tree-sitter-grammars.tree-sitter-elisp tree-sitter-zig
# tree-sitter-grammars.tree-sitter-markdown tree-sitter-elisp
tree-sitter-markdown
]))
]; ];
# xdg.configFile = { # xdg.configFile = {
# "emacs" = { # "emacs" = {