mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
21 lines
562 B
Nix
21 lines
562 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "haskell-scope-highlighting";
|
|
packPathName = "haskell-scope-highlighting.nvim";
|
|
package = "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`.
|
|
'';
|
|
};
|
|
}
|