File tree 2 files changed +11
-23
lines changed
2 files changed +11
-23
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,17 @@ return {
68
68
dependencies = {
69
69
" echasnovski/mini.nvim" -- Needed for :ToggleCommentDebugPrints (not needed for NeoVim 0.10+)
70
70
},
71
+ -- The 'keys' and 'cmds' sections of this configuration are optional and only needed if
72
+ -- you want to take advantage of `lazy.nvim` lazy-loading. If you decide to
73
+ -- customize the keys/commands (see below), you'll need to change these too.
74
+ keys = {
75
+ { " g?" , mode = ' n' },
76
+ { " g?" , mode = ' x' },
77
+ },
78
+ cmd = {
79
+ " ToggleCommentDebugPrints" ,
80
+ " DeleteDebugPrints" ,
81
+ },
71
82
}
72
83
```
73
84
@@ -153,18 +164,6 @@ return {
153
164
delete_debug_prints = " DeleteDebugPrints" ,
154
165
},
155
166
},
156
- -- The 'keys' and 'cmds' sections of this configuration are only needed if
157
- -- you want to take advantage of `lazy.nvim` lazy-loading - and you are
158
- -- *NOT* using lazy.nvim 0.11+, where they are enabled by default for the
159
- -- default keys and commands.
160
- keys = {
161
- { " g?" , mode = ' n' },
162
- { " g?" , mode = ' x' },
163
- },
164
- cmd = {
165
- " ToggleCommentDebugPrints" ,
166
- " DeleteDebugPrints" ,
167
- },
168
167
}
169
168
```
170
169
Original file line number Diff line number Diff line change 1
1
local spec = {
2
2
url = " https://github.com/andrewferrier/debugprint.nvim" ,
3
- opts = {},
4
- -- FIXME: Work around temporary issue with lazy-loading
5
- -- keys = {
6
- -- { "g?", mode = "n" },
7
- -- { "g?", mode = "x" },
8
- -- },
9
- -- cmd = {
10
- -- "ToggleCommentDebugPrints",
11
- -- "DeleteDebugPrints",
12
- -- },
13
- -- lazy = true,
14
3
-- FIXME: Only introduce this line when we are about to release the next stable version otherwise this will cause a yo-yo effect
15
4
-- Use stable versions by default
16
5
-- version = '*',
You can’t perform that action at this time.
0 commit comments