From ef48f9fc248b69227f8c24e59e5f55830e730c73 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Fri, 11 Feb 2022 17:30:25 -0800 Subject: [PATCH] README update: added link to 'nvim-dap' --- README.md | 23 ++++++++++++++--------- doc/fzf-lua.txt | 26 +++++++++++++++----------- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 55aee13..1ed8b9d 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ at it. That, **and colorful file icons and git indicators!**. using fzf's native previewer - [delta](https://github.com/dandavison/delta) - syntax highlighted git pager for git status previews +- [nvim-dap](https://github.com/mfussenegger/nvim-dap) - for Debug Adapter + Protocol (DAP) support ## Installation @@ -201,15 +203,6 @@ vim.api.nvim_set_keymap('n', '', | `filetypes` | neovim filetypes | | `packadd` | :packadd | -### nvim-dap -| Command | List | -| -------------------- | ------------------------------------------ | -| `dap_commands` | list,run `nvim-dap` builtin commands | -| `dap_configurations` | list,run debug configurations | -| `dap_breakpoints` | list,delete breakpoints | -| `dap_variables` | active session variables | -| `dap_frames` | active session jump to frame | - ### Neovim API > `:help vim.ui.select` for more info @@ -219,6 +212,18 @@ vim.api.nvim_set_keymap('n', '', | `register_ui_select` | register fzf-lua as the UI interface for `vim.ui.select`| | `deregister_ui_select` | de-register fzf-lua with `vim.ui.select` | +### nvim-dap + +> Requires [`nvim-dap`](https://github.com/mfussenegger/nvim-dap) + +| Command | List | +| -------------------- | ------------------------------------------ | +| `dap_commands` | list,run `nvim-dap` builtin commands | +| `dap_configurations` | list,run debug configurations | +| `dap_breakpoints` | list,delete breakpoints | +| `dap_variables` | active session variables | +| `dap_frames` | active session jump to frame | + ## Customization diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index 2bdf65b..4f33bae 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -75,6 +75,8 @@ OPTIONAL DEPENDENCIES *fzf-lua-optional-dependencies* using fzf's native previewer - delta - syntax highlighted git pager for git status previews +- nvim-dap - for Debug Adapter + Protocol (DAP) support ------------------------------------------------------------------------------ INSTALLATION *fzf-lua-installation* @@ -236,8 +238,21 @@ MISC *fzf-lua-misc* +NEOVIM API *fzf-lua-neovim-api* + + `:help vim.ui.select` for more info + +| Command | List +| -------------------- | -------------------------------------- | +| `register_ui_select` | register fzf-lua as the UI interface for `vim.ui.select`| +| `deregister_ui_select` | de-register fzf-lua with `vim.ui.select` | + + + NVIM-DAP *fzf-lua-nvim-dap* + Requires `nvim-dap` + | Command | List | | -------------------- | ------------------------------------------ | | `dap_commands` | list,run `nvim-dap` builtin commands | @@ -247,17 +262,6 @@ NVIM-DAP *fzf-lua-nvim-dap* | `dap_frames` | active session jump to frame | - -NEOVIM API *fzf-lua-neovim-api* - - `:help vim.ui.select` for more info - -| Command | List -| -------------------- | -------------------------------------- | -| `register_ui_select` | register fzf-lua as the UI interface for `vim.ui.select`| -| `deregister_ui_select` | de-register fzf-lua with `vim.ui.select` | - - ------------------------------------------------------------------------------ CUSTOMIZATION *fzf-lua-customization*