mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
22 lines
601 B
Nix
22 lines
601 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
helpers,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
helpers.vim-plugin.mkVimPlugin config {
|
|
name = "haskell-scope-highlighting";
|
|
originalName = "haskell-scope-highlighting.nvim";
|
|
defaultPackage = pkgs.vimPlugins.haskell-scope-highlighting-nvim;
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
extraConfig = _: {
|
|
warnings = optional (!config.plugins.treesitter.enable) ''
|
|
Nixvim (plugins.haskell-scope-highlighting): haskell-scope-highlighting needs treesitter to function as intended.
|
|
Please, enable it by setting `plugins.treesitter.enable` to `true`.
|
|
'';
|
|
};
|
|
}
|