Add hare tree-sitter plugin
This commit is contained in:
parent
560260f36c
commit
84bac3cf2e
1 changed files with 13 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue