mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 04:14:28 +02:00
plugins/debugprint: init
This commit is contained in:
parent
dceeab73b1
commit
6d72e00455
3 changed files with 151 additions and 0 deletions
26
tests/test-sources/plugins/languages/debugprint.nix
Normal file
26
tests/test-sources/plugins/languages/debugprint.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.debugprint.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.debugprint = {
|
||||
enable = true;
|
||||
|
||||
createKeymaps = true;
|
||||
moveToDebugline = false;
|
||||
displayCounter = true;
|
||||
displaySnippet = true;
|
||||
filetypes = {
|
||||
python = {
|
||||
left = "print(f'";
|
||||
right = "')";
|
||||
midVar = "{";
|
||||
rightVar = "}')";
|
||||
};
|
||||
};
|
||||
ignoreTreesitter = false;
|
||||
printTag = "DEBUGPRINT";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue