mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-29 14:12:23 +00:00
Compare commits
2 commits
55cdd6db48
...
c3dd3efd12
Author | SHA1 | Date | |
---|---|---|---|
|
c3dd3efd12 | ||
|
f196d2d620 |
1 changed files with 2 additions and 16 deletions
|
@ -67,22 +67,8 @@ in {
|
|||
|
||||
treesitter = {
|
||||
enable = mkEnableOption "Nu treesitter" // {default = config.vim.languages.enableTreesitter;};
|
||||
package = mkOption {
|
||||
description = "The Nu treesitter package to use.";
|
||||
type = package;
|
||||
# FIX: this doesn't work, unofficial grammars probably need some extra lua code
|
||||
default = pkgs.tree-sitter.buildGrammar {
|
||||
language = "nu";
|
||||
version = "0.0.0+rev=0bb9a60";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nushell";
|
||||
repo = "tree-sitter-nu";
|
||||
rev = "0bb9a602d9bc94b66fab96ce51d46a5a227ab76c";
|
||||
hash = "sha256-A5GiOpITOv3H0wytCv6t43buQ8IzxEXrk3gTlOrO0K0=";
|
||||
};
|
||||
meta.homepage = "https://github.com/nushell/tree-sitter-nu";
|
||||
};
|
||||
defaultText = "See code";
|
||||
package = mkPackageOption pkgs ["nu treesitter"] {
|
||||
default = ["tree-sitter-grammars" "tree-sitter-nu"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue