1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/haskell-scope-highlighting/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

22 lines
616 B
Nix

{
lib,
config,
...
}:
lib.nixvim.plugins.mkVimPlugin {
name = "haskell-scope-highlighting";
package = "haskell-scope-highlighting-nvim";
description = "Haskell syntax highlighting that considers variable scopes.";
maintainers = [ lib.maintainers.GaetanLepage ];
extraConfig = {
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`.
'';
};
};
}