Skip to content

dap-info is a lua plugin for Neovim to help show info from breakpoints created using nvim-dap

Notifications You must be signed in to change notification settings

jonathan-elize/dap-info.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

dap-info

dap-info is a lua plugin for Neovim to help show info from breakpoints created using nvim-dap

Install

with lazy.nvim

{
    'jonathan-elize/dap-info.nvim',
    dependencies = {
      "mfussenegger/nvim-dap",
    }
}

Setup

require("dap-info").setup({})

Below is the default config, you can change it according to your needs.

require('persistent-breakpoints').setup{
  -- options used for virtual text ui
  virt_text_opts = {
    namespace = "dap-info",
    prefix = "",
    suffix = "",
    spacing = 4,
  },
}

Usage

:DapInfoNextBp

Goes to the next breakpoint in file and tries to reveal info about it if possible

:DapInfoPrevBp

Goes to the previous breakpoint in file and tries to reveal info about it if possible

:DapInfoRevealBp

Tries to reveal info about the breakpoint on the current line if possible

:DapInfoUpdateBp

Tries to allow you to update a log point message or breakpoint condition for a breakpoint on the line you are currently on.

:DapInfoClearVirtText

Clears virtual text revealing information about breakpoints within current buffer.

:DapInfoShowVirtText

Shows virtual text revealing information about breakpoints within current buffer.

:DapInfoReloadVirtText

Reloads virtual text revealing information about breakpoints within current buffer. (Essentially the same as running DapInfoClearVirtText and DapInfoShowVirtText one after another)

About

dap-info is a lua plugin for Neovim to help show info from breakpoints created using nvim-dap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages