You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -176,12 +176,14 @@ they are used to convert sections to ROT-13, which most folks don't use.
176
176
177
177
> [!WARNING]
178
178
> *Note*: as of version 2.0.0, the old mechanism of configuring keymaps/commands
179
-
> which specifically allowed for mapping directly to
179
+
> which specifically allowed for creating your own keymaps using
180
+
> `vim.keymap.set()` directly to
180
181
> `require('debugprint').debugprint(...)` is no longer officially supported or
181
182
> documented. This is primarily because of [confusion](https://github.com/andrewferrier/debugprint.nvim/issues/44#issuecomment-1896405231) which arose over how to do
182
-
> this mapping. Existing mappings performed this way are likely to continue to
183
-
> work for some time. You should, however, migrate over to the new method outlined
184
-
> above. If this doesn't give you the flexibility to map how you wish for some
183
+
> this mapping. Existing mappings performed this way may continue to work but
184
+
> will produce a deprecation warning.
185
+
> You should migrate to the new configuration-based method outlined
186
+
> [above](https://github.com/andrewferrier/debugprint.nvim?tab=readme-ov-file#keymappings-and-commands). If this doesn't give you the flexibility to map how you wish for some
"debugprint.nvim: mapping directly to the debugprint() function is deprecated and no longer supported. You are *STRONGLY RECOMMENDED* to use the inbuilt mapping approach: https://github.com/andrewferrier/debugprint.nvim?tab=readme-ov-file#mapping-deprecation",
0 commit comments