vimPlugins.nvim-treesitter.grammarPlugins: init
This commit is contained in:
parent
e151c43768
commit
9601701f69
|
@ -41,7 +41,7 @@ let
|
|||
];
|
||||
in
|
||||
|
||||
runCommand "nvim-treesitter-${name}-grammar" { } ''
|
||||
runCommand "nvim-treesitter-grammar-${name}" { } ''
|
||||
mkdir -p $out/parser
|
||||
ln -s ${grammar}/parser $out/parser/${name}.so
|
||||
'';
|
||||
|
@ -69,6 +69,8 @@ in
|
|||
passthru = {
|
||||
inherit builtGrammars allGrammars grammarToPlugin withPlugins withAllGrammars;
|
||||
|
||||
grammarPlugins = lib.mapAttrs (_: grammarToPlugin) generatedDerivations;
|
||||
|
||||
tests.check-queries =
|
||||
let
|
||||
nvimWithAllGrammars = neovim.override {
|
||||
|
|
Loading…
Reference in a new issue