Skip to content

Commit b97bd8a

Browse files
andrewferriergithub-actions[bot]
authored andcommitted
chore: Auto generate Vim docs
1 parent f0d1a93 commit b97bd8a

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

doc/debugprint.nvim.txt

+18-5
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ generation. It:
4747
- Can detect a Treesitter variable name under the cursor for some languages, or
4848
will prompt with a sensible default. It understands Treesitter embedded
4949
languages (e.g. JavaScript-in-HTML).
50-
- Provides |debugprint.nvim-keymappings| for normal, visual, and operator-pending
51-
modes.
50+
- Provides |debugprint.nvim-keymappings| for normal, insert, visual, and
51+
operator-pending modes.
5252
- Provides |debugprint.nvim-commands| to delete debugging lines added to the
5353
current buffer or comment/uncomment those lines.
5454
- Can optionally move to the inserted line (or not).
@@ -123,6 +123,11 @@ following table.
123123
Normal None Comment/uncomment debug lines -
124124
in buffer
125125

126+
Insert Ctrl-G p Plain debug In-place
127+
128+
Insert Ctrl-G v Variable debug (always prompt In-place
129+
for variable)
130+
126131
Visual g?v Variable debug Below
127132

128133
Visual g?V Variable debug Above
@@ -158,6 +163,10 @@ might look like this:
158163
toggle_comment_debug_prints = nil,
159164
delete_debug_prints = nil,
160165
},
166+
insert = {
167+
plain = "<C-G>p",
168+
variable = "<C-G>v",
169+
},
161170
visual = {
162171
variable_below = "g?v",
163172
variable_above = "g?V",
@@ -245,7 +254,7 @@ they are used to convert sections to ROT-13, which most folks don’t use.
245254
----------------------- ----------------- --------------- -------------- ------------------ ------------- -----------
246255
Auto-generation of :+1: :x: :+1: :+1: :x: :+1:
247256
debug line,
248-
incl. locator info
257+
incl. location
249258

250259
Print plain debug lines :+1: :+1: :x: :+1: :x: :x:
251260

@@ -262,8 +271,12 @@ they are used to convert sections to ROT-13, which most folks don’t use.
262271
Print variables using :+1: :x: :+1: :x: :x: :x:
263272
motions
264273

265-
Print variables using :+1: :+1: :+1: :+1: :+1: :x:
266-
visual mode
274+
Add plain or variable :+1: :x: :x:: :x: :x: :x:
275+
debug lines in insert
276+
mode
277+
278+
Add variable debug :+1: :+1: :+1: :+1: :+1: :x:
279+
lines in visual mode
267280

268281
Print assertions :x: :+1: :x: :x: :x: :x:
269282

0 commit comments

Comments
 (0)