Merge pull request #232253 from figsoda/nvim
This commit is contained in:
commit
a85a2b4590
2 changed files with 11 additions and 4 deletions
|
@ -41,10 +41,16 @@ let
|
|||
];
|
||||
in
|
||||
|
||||
runCommand "nvim-treesitter-grammar-${name}" { } ''
|
||||
mkdir -p $out/parser
|
||||
ln -s ${grammar}/parser $out/parser/${name}.so
|
||||
'';
|
||||
runCommand "nvim-treesitter-grammar-${name}"
|
||||
{
|
||||
meta = {
|
||||
platforms = lib.platforms.all;
|
||||
} // grammar.meta;
|
||||
}
|
||||
''
|
||||
mkdir -p $out/parser
|
||||
ln -s ${grammar}/parser $out/parser/${name}.so
|
||||
'';
|
||||
|
||||
allGrammars = lib.attrValues generatedDerivations;
|
||||
|
||||
|
|
|
@ -756,6 +756,7 @@ self: super: {
|
|||
nvim-treesitter = super.nvim-treesitter.overrideAttrs (old:
|
||||
callPackage ./nvim-treesitter/overrides.nix { } self super
|
||||
);
|
||||
nvim-treesitter-parsers = lib.recurseIntoAttrs self.nvim-treesitter.grammarPlugins;
|
||||
|
||||
nvim-ufo = super.nvim-ufo.overrideAttrs (old: {
|
||||
dependencies = with self; [ promise-async ];
|
||||
|
|
Loading…
Reference in a new issue