nix-community.nixvim/plugins/by-name/haskell-scope-highlighting/default.nix

22 lines
565 B
Nix
Raw Normal View History

{
lib,
helpers,
config,
...
}:
with lib;
helpers.vim-plugin.mkVimPlugin {
2024-05-05 19:39:35 +02:00
name = "haskell-scope-highlighting";
originalName = "haskell-scope-highlighting.nvim";
package = "haskell-scope-highlighting-nvim";
2024-05-05 19:39:35 +02:00
maintainers = [ lib.maintainers.GaetanLepage ];
2024-05-05 19:39:35 +02:00
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`.
'';
};
}