fix treesitter stuff

This commit is contained in:
Michael Flossmann 2024-09-11 10:47:18 +02:00
parent 8a56a4a350
commit 2779a6d136

View file

@ -10,9 +10,7 @@
# Enable treesitter based indentation (use '=' to auto-indent)
settings = {
indent.enable = true;
highlight = {
enable = true;
};
highlight.enable = true;
};
# Workaround to enable incremental selection without setting default keymaps (keymaps are set globally)
@ -22,8 +20,6 @@
enable = true;
keymaps = lib.mkForce { };
};
settings.highlight.enable = true;
};
rootOpts = {
@ -86,6 +82,7 @@
"]?" = { query = "@condition.outer"; desc = "Next conditional start"; };
"]l" = { query = "@loop.outer"; desc = "Next loop start"; };
"]c" = { query = "@call.inner"; desc = "Previous call start"; };
"]/" = { query = "@comment.outer"; desc = "Next comment start"; };
};
gotoNextEnd = {
@ -102,6 +99,7 @@
"[?" = { query = "@condition.outer"; desc = "Previous conditional start"; };
"[l" = { query = "@loop.outer"; desc = "Previous loop start"; };
"[c" = { query = "@call.inner"; desc = "Previous call start"; };
"[/" = { query = "@comment.outer"; desc = "Previous comment start"; };
};
gotoPreviousEnd = {