emacs: Explicit list of tree-sitter grammars to be installed
Because someone shipped a broken derivation into nixpkgs...
This commit is contained in:
parent
733467d330
commit
45fd0f135b
1 changed files with 59 additions and 2 deletions
|
@ -25,7 +25,64 @@ with lib; let
|
|||
alwaysTangle = true;
|
||||
extraEmacsPackages = epkgs: with epkgs; [
|
||||
vterm
|
||||
treesit-grammars.with-all-grammars
|
||||
(treesit-grammars.with-grammars (p: with p; [
|
||||
tree-sitter-bash
|
||||
tree-sitter-c
|
||||
tree-sitter-cmake
|
||||
tree-sitter-comment
|
||||
tree-sitter-commonlisp
|
||||
tree-sitter-cpp
|
||||
tree-sitter-css
|
||||
tree-sitter-cuda
|
||||
tree-sitter-devicetree
|
||||
tree-sitter-dockerfile
|
||||
tree-sitter-dot
|
||||
tree-sitter-eex
|
||||
tree-sitter-elisp
|
||||
tree-sitter-elixir
|
||||
tree-sitter-embedded-template
|
||||
tree-sitter-erlang
|
||||
tree-sitter-fish
|
||||
tree-sitter-glsl
|
||||
tree-sitter-go
|
||||
tree-sitter-gomod
|
||||
tree-sitter-gowork
|
||||
tree-sitter-graphql
|
||||
tree-sitter-haskell
|
||||
tree-sitter-hcl
|
||||
tree-sitter-heex
|
||||
tree-sitter-html
|
||||
tree-sitter-http
|
||||
tree-sitter-javascript
|
||||
tree-sitter-jsdoc
|
||||
tree-sitter-json
|
||||
tree-sitter-latex
|
||||
tree-sitter-llvm
|
||||
tree-sitter-lua
|
||||
tree-sitter-make
|
||||
tree-sitter-markdown
|
||||
tree-sitter-markdown-inline
|
||||
tree-sitter-nix
|
||||
tree-sitter-nu
|
||||
tree-sitter-pioasm
|
||||
tree-sitter-python
|
||||
tree-sitter-query
|
||||
tree-sitter-regex
|
||||
tree-sitter-rst
|
||||
tree-sitter-ruby
|
||||
tree-sitter-rust
|
||||
tree-sitter-scheme
|
||||
tree-sitter-scss
|
||||
tree-sitter-sql
|
||||
tree-sitter-surface
|
||||
tree-sitter-svelte
|
||||
tree-sitter-toml
|
||||
tree-sitter-tsx
|
||||
tree-sitter-typescript
|
||||
tree-sitter-verilog
|
||||
tree-sitter-yaml
|
||||
tree-sitter-zig
|
||||
]))
|
||||
emacsql
|
||||
emacsql-sqlite
|
||||
];
|
||||
|
@ -85,7 +142,7 @@ in
|
|||
(nil.overrideAttrs (_: { doCheck = false; }))
|
||||
nixpkgs-fmt
|
||||
python3
|
||||
(tree-sitter.withPlugins builtins.attrValues)
|
||||
# (tree-sitter.withPlugins builtins.attrValues)
|
||||
] ++
|
||||
(with aspellDicts; [ en en-computers en-science fy nl ]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue