mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 08:05:23 +02:00
plugins/treesitter-context: add missing warning when treesitter is not enabled
This commit is contained in:
parent
cf6a614e8b
commit
535fc7d5d3
2 changed files with 5 additions and 1 deletions
|
@ -174,7 +174,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
extraPlugins = with pkgs;
|
||||
extraPlugins =
|
||||
if cfg.nixGrammars
|
||||
then [(cfg.package.withPlugins (_: cfg.grammarPackages))]
|
||||
else [cfg.package];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue