{"id":22280354,"url":"https://github.com/mfussenegger/nluarepl","last_synced_at":"2025-04-10T11:37:16.994Z","repository":{"id":265214815,"uuid":"895475925","full_name":"mfussenegger/nluarepl","owner":"mfussenegger","description":"(mirror) nvim plugin that implements a debug adapter limited to evaluating expressions","archived":false,"fork":false,"pushed_at":"2025-01-25T17:30:27.000Z","size":42,"stargazers_count":22,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T11:39:09.777Z","etag":null,"topics":["debug-adapter-protocol","neovim","neovim-plugin","nvim-dap"],"latest_commit_sha":null,"homepage":"https://codeberg.org/mfussenegger/nluarepl","language":"Lua","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfussenegger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["mfussenegger"]}},"created_at":"2024-11-28T09:28:23.000Z","updated_at":"2025-02-18T22:28:39.000Z","dependencies_parsed_at":"2024-11-28T10:31:35.911Z","dependency_job_id":"7e891285-30f5-4ea2-a772-a30b8a242774","html_url":"https://github.com/mfussenegger/nluarepl","commit_stats":null,"previous_names":["mfussenegger/nluarepl"],"tags_count":1,"template":false,"template_full_name":"nvim-lua/nvim-lua-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnluarepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnluarepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnluarepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnluarepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfussenegger","download_url":"https://codeload.github.com/mfussenegger/nluarepl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208689,"owners_count":21065205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug-adapter-protocol","neovim","neovim-plugin","nvim-dap"],"created_at":"2024-12-03T15:33:48.169Z","updated_at":"2025-04-10T11:37:16.986Z","avatar_url":"https://github.com/mfussenegger.png","language":"Lua","funding_links":["https://github.com/sponsors/mfussenegger"],"categories":["Lua"],"sub_categories":[],"readme":"# nluarepl\n\nA nvim-lua debug adapter for use with [nvim-dap][nvim-dap].\n\nSupported features:\n\n- Evaluate expressions ([Watch demo][eval-demo])\n- Logpoints with optional conditions ([Watch demo][logpoint-demo])\n\nOther features like stopping at breakpoints, is not supported due to the\narchitecture of this plugin. Both Client and debug adapter cannot run in the\nsame thread if a breakpoint needs to pause execution.\n\nThe main goal for this is to have an interactive REPL to query and modify the\nrunning nvim instance.\n\nIf you're looking for a way to debug Neovim plugins with full breakpoint\nsupport you should head to [osv][osv].\n\n\n## Installation\n\n- Install [nvim-dap][nvim-dap]; it's a dependency\n- Install this plugin:\n\n```bash\ngit clone https://github.com/mfussenegger/nluarepl.git \\\n    ~/.config/nvim/pack/plugins/start/nluarepl\n```\n\n## Usage\n\nThe plugin automatically registers a `nluarepl` adapter for `nvim-dap` and\ncreates a `nluarepl` configuration which is always available. You can start it\nusing `:DapNew nluarepl` or via `dap.continue()`. Afterwards open the\n`nvim-dap` REPL using `:DapToggleRepl` and start typing expressions.\n\nFor longer multi-line statements you can open a dap-eval buffer using `:sp\ndap-eval://lua` and then execute expressions via `:w` inside that buffer.\n\n\n## Limitations\n\n- Logpoints won't work for functions baked into nvim. This includes functions\n  like `vim.split` or other functions defined in [shared.lua][shared.lua]\n  nluarepl also can't provide source locations for these functions.\n\n  You can start nvim with `--luamod-dev` to avoid this limitation, but be\n  careful setting logpoints on these functions, some of them are called a lot -\n  and many by nvim-dap/nluarepl - that can result in output spam and a\n  significant slowdown of nvim.\n\n---\n\nDisclaimer: There's a chance the functionality of this plugin could get\nincluded in [osv][osv], if that happens this plugin here will be archived.\n\n[osv]: https://github.com/jbyuki/one-small-step-for-vimkind\n[nvim-dap]: https://github.com/mfussenegger/nvim-dap\n[eval-demo]: https://zignar.net/assets/files/c6144a41526e81b82d9cac39901782a4140d3f14adec3c8b8061cb1028e700ff.webm\n[shared.lua]: https://github.com/neovim/neovim/blob/master/runtime/lua/vim/shared.lua\n[logpoint-demo]: https://private-user-images.githubusercontent.com/38700/390889660-26060bf8-09f5-4ed4-bd8f-3837f8015990.webm?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQxNzc2MTgsIm5iZiI6MTczNDE3NzMxOCwicGF0aCI6Ii8zODcwMC8zOTA4ODk2NjAtMjYwNjBiZjgtMDlmNS00ZWQ0LWJkOGYtMzgzN2Y4MDE1OTkwLndlYm0_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxNFQxMTU1MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMjJhOTg0NjI3MTVlMDEzNDhmZmMzY2JlODUxYTljZTU5M2VkOWQ2NzI3OWE1OGU4NDE3OTQyOTY1MTE3ODQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.hb9jh3Xx2yC4VrqyjpWXY1r9pStET8jElOCNI2WEtv8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfussenegger%2Fnluarepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfussenegger%2Fnluarepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfussenegger%2Fnluarepl/lists"}