plugins/treesitter: re-organize treesitter plugins

This commit is contained in:
Gaetan Lepage 2023-04-06 15:10:08 +02:00 committed by Gaétan Lepage
parent f79dccdc2e
commit ff791d20c8
7 changed files with 12 additions and 8 deletions

View file

@ -1,29 +0,0 @@
{pkgs}: {
empty = {
plugins.treesitter.enable = true;
plugins.treesitter-playground.enable = true;
};
default = {
plugins.treesitter.enable = true;
plugins.treesitter-playground = {
enable = true;
disabledLanguages = [];
updateTime = 25;
persistQueries = false;
keybindings = {
toggleQueryEditor = "o";
toggleHlGroups = "i";
toggleInjectedLanguages = "t";
toggleAnonymousNodes = "a";
toggleLanguageDisplay = "I";
focusLanguage = "f";
unfocusLanguage = "F";
update = "R";
gotoNode = "<cr>";
showHelp = "?";
};
};
};
}