nix-community.nixvim/tests/test-sources/plugins/languages/haskell-scope-highlighting.nix
Gustavo Araiza 3958364809 plugins/haskell-scope-highlighting: init + test
Add warning for Treesitter dependency

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

add test for highlights, add package

tweak warning message

enable treesitter in tests

suggested change
2024-01-29 08:47:37 +01:00

24 lines
819 B
Nix

{
empty = {
plugins.haskell-scope-highlighting.enable = true;
plugins.treesitter.enable = true;
};
testHaskellHighlights = {
plugins.haskell-scope-highlighting.enable = true;
plugins.treesitter.enable = true;
highlight = {
HaskellCurrentScope.bg = "black";
HaskellParentScope1.bg = "black";
HaskellParentScope2.bg = "black";
HaskellParentScope3.bg = "black";
HaskellVariableDeclarationWithinScope.bg = "black";
HaskellVariableDeclaredWithinFile.bg = "black";
HaskellVariableDeclaredWithinParent1.bg = "black";
HaskellVariableDeclaredWithinParent2.bg = "black";
HaskellVariableDeclaredWithinParent3.bg = "black";
HaskellVariableDeclaredWithinScope.bg = "black";
HaskellVariableNotDeclaredWithinFile.bg = "black";
};
};
}