2023-12-19 14:03:10 +01:00
|
|
|
{
|
|
|
|
empty = {
|
|
|
|
plugins.debugprint.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
|
|
|
plugins.debugprint = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-04-07 14:27:25 +02:00
|
|
|
settings = {
|
|
|
|
keymaps = {
|
|
|
|
normal = {
|
|
|
|
plain_below = "g?p";
|
|
|
|
plain_above = "g?P";
|
|
|
|
variable_below = "g?v";
|
|
|
|
variable_above = "g?V";
|
|
|
|
variable_below_alwaysprompt.__raw = "nil";
|
|
|
|
variable_above_alwaysprompt.__raw = "nil";
|
|
|
|
textobj_below = "g?o";
|
|
|
|
textobj_above = "g?O";
|
|
|
|
toggle_comment_debug_prints.__raw = "nil";
|
|
|
|
delete_debug_prints.__raw = "nil";
|
|
|
|
};
|
|
|
|
visual = {
|
|
|
|
variable_below = "g?v";
|
|
|
|
variable_above = "g?V";
|
|
|
|
};
|
2023-12-19 14:03:10 +01:00
|
|
|
};
|
2024-04-07 14:27:25 +02:00
|
|
|
commands = {
|
|
|
|
toggle_comment_debug_prints = "ToggleCommentDebugPrints";
|
|
|
|
delete_debug_prints = "DeleteDebugPrints";
|
|
|
|
};
|
|
|
|
move_to_debugline = false;
|
|
|
|
display_counter = true;
|
|
|
|
display_snippet = true;
|
|
|
|
filetypes = {
|
|
|
|
python = {
|
|
|
|
left = "print(f'";
|
|
|
|
right = "')";
|
|
|
|
mid_var = "{";
|
|
|
|
right_var = "}')";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ignore_treesitter = false;
|
|
|
|
print_tag = "DEBUGPRINT";
|
2023-12-19 14:03:10 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|