2024-01-26 11:31:34 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkVimPlugin {
|
2024-05-05 19:39:35 +02:00
|
|
|
name = "haskell-scope-highlighting";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "haskell-scope-highlighting.nvim";
|
2024-09-02 14:05:11 +01:00
|
|
|
package = "haskell-scope-highlighting-nvim";
|
2024-01-26 11:31:34 -06:00
|
|
|
|
2024-05-05 19:39:35 +02:00
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
2024-01-26 11:31:34 -06:00
|
|
|
|
2024-11-19 15:47:49 +00:00
|
|
|
extraConfig = {
|
2025-01-17 16:18:38 +01:00
|
|
|
warnings = lib.nixvim.mkWarnings "plugins.haskell-scope-highlighting" {
|
|
|
|
when = !config.plugins.treesitter.enable;
|
|
|
|
message = ''
|
|
|
|
haskell-scope-highlighting needs treesitter to function as intended.
|
|
|
|
Please, enable it by setting `plugins.treesitter.enable` to `true`.
|
|
|
|
'';
|
|
|
|
};
|
2024-05-05 19:39:35 +02:00
|
|
|
};
|
|
|
|
}
|