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
This commit is contained in:
Gustavo Araiza 2024-01-26 11:31:34 -06:00 committed by Gaétan Lepage
parent 43f3cb7ab2
commit 3958364809
3 changed files with 51 additions and 2 deletions

View file

@ -0,0 +1,24 @@
{
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";
};
};
}