We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9252bf commit a351f98Copy full SHA for a351f98
wrapperModules/n/neovim/default-config.nix
@@ -188,9 +188,13 @@
188
v.value.collateGrammars or false
189
&& v.value.data or null != null
190
&& !builtins.isString v.value.data
191
- &&
192
- builtins.match "^vimplugin-(nvim-)?treesitter-(grammar|queries)-.*" (lib.getName v.value.data)
193
- != null;
+ && (
+ v.value.data.passthru.isTreesitterGrammar or false == true
+ || v.value.data.passthru.isTreesitterQuery or false == true
194
+ ||
195
+ builtins.match "^vimplugin-(nvim-)?treesitter-(grammar|queries)-.*" (lib.getName v.value.data)
196
+ != null
197
+ );
198
in
199
{
200
grams = acc.grams ++ lib.optional isGram v.value.data;
0 commit comments