{"repo":"jbyuki/one-small-step-for-vimkind","free":true,"listed":false,"github":"https://github.com/jbyuki/one-small-step-for-vimkind","clone":"git clone https://github.com/jbyuki/one-small-step-for-vimkind.git","description":"Debug adapter for Neovim plugins","language":"Lua","stars":547,"topics":["nvim","nvim-dap","lua","neovim","dap-server","debugging"],"license":"MIT","category":"dev-tools","readme_excerpt":"one-small-step-for-vimkind one-small-step-for-vimkind a.k.a. osv is an adapter for the Neovim lua language. See the DAP protocol to know more about adapters. It allows you to debug any lua code running in a Neovim instance. Install Install using your prefered method. Using vim-plug Using lazy.nvim Configuration Add these lines to work with nvim-dap. Set keybindings to interact with the nvim-dap client. Quickstart Launch the server in the debuggee using dl Open another Neovim instance with the source file Place breakpoint with db Connect using the DAP client with dc Run your script/plugin in the debuggee See osv.txt for more detailed instructions. Debug configuration files It is now possible to debug configuration files (ex. init.lua ). See the corresponding section in osv.txt. Troubleshoot flatten.nvim Set nest if no args to true. See this issue for more informations. fzf-lua Under special circumstances, the headless instance can fail. See this issue for more details. Neovim messages and output Currently, :redir is used in the debuggee to capture and report debuggee output. This was chosen because it is rarely used in neovim and has relatively few side-effects. However, vim/nvim only allows 1 redirection to be active at a time. If your program relies on this command working correctly, you may need to set output to false , otherwise your redirections will be overridden. Debugging plugins Breakpoints are path-sensitive so they should always be set in the executed file even thou","default_branch":null,"files":null,"tree":[],"storefront":"/r/jbyuki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jbyuki/one-small-step-for-vimkind/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}