mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
plugins/treesitter: add workaround for performance.combinePlugins
This commit is contained in:
parent
0c32f5bda5
commit
ce93f1724f
2 changed files with 42 additions and 0 deletions
|
@ -328,5 +328,10 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
|||
foldmethod = mkDefault "expr";
|
||||
foldexpr = mkDefault "nvim_treesitter#foldexpr()";
|
||||
};
|
||||
|
||||
# Since https://github.com/NixOS/nixpkgs/pull/321550 upstream queries are added
|
||||
# to grammar plugins. Exclude nvim-treesitter itself from combining to avoid
|
||||
# collisions with grammar's queries
|
||||
performance.combinePlugins.standalonePlugins = [ cfg.package ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue