Skip to content

Commit 22d5575

Browse files
andrewferriergithub-actions[bot]
authored andcommitted
chore: Auto generate Vim docs
1 parent 3d3ce2e commit 22d5575

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

doc/debugprint.nvim.txt

+18-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*debugprint.nvim.txt* For NVIM Last change: 2024-12-16
1+
*debugprint.nvim.txt* For NVIM Last change: 2024-12-17
22

33
==============================================================================
44
Table of Contents *debugprint.nvim-table-of-contents*
@@ -56,6 +56,8 @@ generation. It:
5656
- Provides |debugprint.nvim-keymappings| for normal, insert, visual, and
5757
operator-pending modes. Supports dot-repeat
5858
<https://jovicailic.org/2018/03/vim-the-dot-command/>.
59+
- Supports direct writing to NeoVim registers for batch insert of debugprint
60+
lines.
5961
- Provides |debugprint.nvim-commands| to delete debugging lines added to the
6062
current buffer or comment/uncomment those lines.
6163
- Can optionally move to the inserted line (or not).
@@ -151,6 +153,10 @@ following table.
151153
Command :ResetDebugPrintsCounter Reset debug print persistent counter (only -
152154
for built-in counter implementation)
153155
-------------------------------------------------------------------------------------------------
156+
Each of the keymappings (except for insert mode) can also be prefixed with a
157+
register, see the showcase <SHOWCASE.md#register-usage> for an example of how
158+
to use this to insert debugprint lines in batches.
159+
154160
The keys and commands outlined above can be specifically overridden using the
155161
`keymaps` and `commands` objects inside the `opts` object used above during
156162
configuration of debugprint. For example, if configuring via `lazy.nvim`, it
@@ -329,23 +335,27 @@ they are used to convert sections to ROT-13, which most folks don’t use.
329335
Can control whether to :+1: :x: :x: :x: :x: :x: :x:
330336
move to inserted lines
331337

332-
Clean up all debug :+1: :x: :+1: :x: :x: :x: :x:
333-
lines
338+
Clean up/delete all :+1: :+1: :+1: :x: :x: :x: :x:
339+
debug lines in buffer
340+
341+
Comment/uncomment all :+1: :+1: :x: :x: :x: :x: :x:
342+
debug lines in buffer
334343

335344
Comment/uncomment all :+1: :x: :x: :x: :x: :x: :x:
336-
debug lines
345+
debug lines in selected
346+
range
337347

338-
Can put debugprint text :x: :x: :x: :+1: :x: :x: :x:
339-
into default register
348+
Can put debugprint text :+1: :x: :x: :+1: :x: :x: :x:
349+
into register
340350

341351
Extra visual emphasis :x: Flashes to status line :x: :x: :x: :x:
342352
of log statements highlight counter,
343353
lines when signcolumn,
344354
inserted line-highlight,
345355
scrollbar
346356

347-
Can insert logs in :x: :+1: :x: :x: :x: :x: :x:
348-
batches
357+
Can insert logs in :+1: (using :+1: :x: :x: :x: :x: :x:
358+
batches registers)
349359

350360
Log watcher mechanism :x: :+1: :x: :x: :x: :x: :x:
351361

0 commit comments

Comments
 (0)