mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 02:59:00 +02:00
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
23 lines
668 B
Nix
23 lines
668 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "haskell-scope-highlighting";
|
|
packPathName = "haskell-scope-highlighting.nvim";
|
|
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`.
|
|
'';
|
|
};
|
|
};
|
|
}
|