Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nvim-telescope/telescope-dap.nvim

Integration for nvim-dap with telescope.nvim
https://github.com/nvim-telescope/telescope-dap.nvim

Last synced: 3 months ago
JSON representation

Integration for nvim-dap with telescope.nvim

Awesome Lists containing this project

README

        

# telescope-dap.nvim

Integration for [nvim-dap](https://github.com/mfussenegger/nvim-dap) with [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim).

This plugin is also overriding `dap` internal ui, so running any `dap` command, which makes use of the internal ui, will result in a `telescope` prompt.

## Requirements

- [nvim-dap](https://github.com/mfussenegger/nvim-dap) (required)
- [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) (required)
- [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) (optional)

## Setup

You can setup the extension by doing

```lua
require('telescope').load_extension('dap')
```

somewhere after your require('telescope').setup() call.

## Available commands

```viml
:Telescope dap commands
:Telescope dap configurations
:Telescope dap list_breakpoints
:Telescope dap variables
:Telescope dap frames
```

## Available functions

```lua
require'telescope'.extensions.dap.commands{}
require'telescope'.extensions.dap.configurations{}
require'telescope'.extensions.dap.list_breakpoints{}
require'telescope'.extensions.dap.variables{}
require'telescope'.extensions.dap.frames{}
```

## Customize Colors

Stack frames coming from external code (libraries) are highlighted with the "NvimDapSubtleFrame" highlight group (by default linked to "Comment").