Add hare tree-sitter plugin

This commit is contained in:
Erwin Boskma 2024-01-29 10:02:31 +01:00
parent 560260f36c
commit 84bac3cf2e
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -12,6 +12,17 @@ with lib; let
cp ${initFile} $out
'';
tree-sitter-hare = pkgs.tree-sitter.buildGrammar {
language = "tree-sitter-hare";
version = "unstable-2023-12-31";
src = pkgs.fetchFromSourcehut {
owner = "~ecs";
repo = "tree-sitter-hare";
rev = "9408bb8fd6c110307f7c92fa834eb5dbd92e36d8";
sha256 = "iqaj+7Ax5zfXGXsJw5pesTlTeah2X4Li4LpInDSUTcU=";
};
};
emacsWithPackages = pkgs.emacsWithPackagesFromUsePackage {
config =
let
@ -50,6 +61,7 @@ with lib; let
tree-sitter-gomod
tree-sitter-gowork
tree-sitter-graphql
tree-sitter-hare
tree-sitter-haskell
tree-sitter-hcl
tree-sitter-heex
@ -65,14 +77,7 @@ with lib; let
tree-sitter-markdown
tree-sitter-markdown-inline
tree-sitter-nix
(tree-sitter-nu.overrideAttrs (_prevAttr: {
src = pkgs.fetchFromGitHub {
owner = "nushell";
repo = "tree-sitter-nu";
rev = "307559b6a3885ef0c55bcd5e23e9e164a7ce03bd";
sha256 = "RuvR2Yb2CTxpxyXgr+2uUQa9N75sIhYlS9moyedZo8A=";
};
}))
tree-sitter-nu
tree-sitter-pioasm
tree-sitter-python
tree-sitter-query