all repos — nixfiles @ 3fd845ff7c4584ae1cdda2e4e3db68649967e61d

System and user configuration, managed by nix and home-manager

emacs: limit installed tree-sitter grammars

Alan Pearce
commit

3fd845ff7c4584ae1cdda2e4e3db68649967e61d

parent

d6c301581f7d105023d324650a1142a3a6428bd4

M user/settings/accounting.nixuser/settings/accounting.nix
@@ -9,4 +9,10 @@ bean-add
beancount reckon ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-beancount + tree-sitter-ledger + ])) + ]); }
M user/settings/development/base.nixuser/settings/development/base.nix
@@ -46,6 +46,17 @@ MOSH_TITLE_NOPREFIX = "1";
LIMA_INSTANCE = "nixos"; }; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-bash + tree-sitter-fish + tree-sitter-just + tree-sitter-make + tree-sitter-dockerfile + tree-sitter-sql + ])) + ]); + editorconfig = { enable = true; settings = {
M user/settings/development/clojure.nixuser/settings/development/clojure.nix
@@ -9,5 +9,8 @@ ];
programs.emacs.extraPackages = epkgs: (with epkgs; [ cider clojure-mode + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-clojure + ])) ]); }
M user/settings/development/golang.nixuser/settings/development/golang.nix
@@ -30,6 +30,12 @@ programs.emacs.extraPackages = epkgs: (with epkgs; [
go-eldoc go-tag templ-ts-mode + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-go + tree-sitter-gowork + tree-sitter-gomod + tree-sitter-templ + ])) ]); programs.neovim.plugins = with pkgs.vimPlugins; [ coc-go
M user/settings/development/javascript.nixuser/settings/development/javascript.nix
@@ -25,6 +25,13 @@
programs.emacs.extraPackages = epkgs: (with epkgs; [ astro-ts-mode svelte-mode + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-jsdoc + tree-sitter-svelte + tree-sitter-tsx + tree-sitter-typescript + tree-sitter-javascript + ])) ]); home.shellAliases = {
M user/settings/development/lisp.nixuser/settings/development/lisp.nix
@@ -11,6 +11,12 @@ ] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
ccl ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-commonlisp + ])) + ]); + programs.git.attributes = [ "*.lisp diff=common-lisp" ];
M user/settings/development/rust.nixuser/settings/development/rust.nix
@@ -10,4 +10,9 @@ rustfmt
rust-analyzer clippy ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-rust + ])) + ]); }
M user/settings/development/web.nixuser/settings/development/web.nix
@@ -98,6 +98,10 @@ emmet-mode
nginx-mode php-mode web-mode + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-css + tree-sitter-html + ])) ]); programs.neovim.plugins = with pkgs.vimPlugins; [ coc-css
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -153,8 +153,15 @@ treemacs
treemacs-evil treemacs-magit treemacs-nerd-icons - treesit-grammars.with-all-grammars treesit-auto + (treesit-grammars.with-grammars (grammars: with grammars; [ + tree-sitter-nix + tree-sitter-markdown + tree-sitter-json + tree-sitter-json5 + tree-sitter-toml + tree-sitter-yaml + ])) try ultra-scroll vc-msg