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
+61-48Lines changed: 61 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@
21
21
-[Jumping](#jumping)
22
22
-[Expanding Variables](#expanding-variables)
23
23
-[Highlight Groups](#highlight-groups)
24
-
-[Filetypes and autocommands](#filetypes-and-autocommands)
25
-
-[Custom buttons](#custom-buttons)
24
+
-[Filetypes and Autocommands](#filetypes-and-autocommands)
25
+
-[Custom Buttons](#custom-buttons)
26
26
-[Roadmap](#roadmap)
27
27
-[Known Issues](#known-issues)
28
28
-[Acknowledgements](#acknowledgements)
@@ -324,39 +324,44 @@ return {
324
324
325
325
### Highlight Groups
326
326
327
-
`nvim-dap-view` defines 22 highlight groups linked to (somewhat) reasonable defaults, but they may look odd with your colorscheme. If the links aren't defined, no highlighting will be applied. To fix that, you have to manually define the highlight groups (see `:h nvim_set_hl()`). Consider contributing to your colorscheme by sending a PR to add support to `nvim-dap-view`!
327
+
`nvim-dap-view` defines 28 highlight groups linked to (somewhat) reasonable defaults, but they may look odd with your colorscheme. If the links aren't defined, no highlighting will be applied. To fix that, you have to manually define the highlight groups (see `:h nvim_set_hl()`). Consider contributing to your colorscheme by sending a PR to add support to `nvim-dap-view`!
`nvim-dap-view` provides some default buttons for the control bar, but you can also add your own. To do that, in the `controls` table you can use the `custom_buttons` table to declare your new button and then add it at the position you want in the `buttons` list.
396
+
`nvim-dap-view` provides some default buttons for the control bar, but you can also add your own. To do that, in the `controls` table you can use the `custom_buttons` table to declare your new button and then add it at the position you want in the `buttons` list.
392
397
393
398
A custom button has 2 methods:
394
399
@@ -404,42 +409,50 @@ See the `@ N` section in `:help statusline` for the complete specifications of a
404
409
<summary>Example custom buttons</summary>
405
410
406
411
An example adding 2 buttons:
412
+
407
413
-`fun`: the most basic button possible, just prints "🎊" when clicked
408
414
-`term_restart`: an hybrid button that acts as a stop/restart button. If the stop button is triggered by anything else than a single left click (middle click, right click, double click or click with a modifier), it will disconnect the session instead.
0 commit comments