{"id":13412672,"url":"https://github.com/bfredl/nvim-luadev","last_synced_at":"2025-10-11T02:43:06.223Z","repository":{"id":44751681,"uuid":"155386759","full_name":"bfredl/nvim-luadev","owner":"bfredl","description":"REPL/debug console for nvim lua plugins","archived":false,"fork":false,"pushed_at":"2023-03-13T20:57:45.000Z","size":23,"stargazers_count":281,"open_issues_count":2,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-11T02:43:04.418Z","etag":null,"topics":["nvim","repl"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfredl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-30T13:05:21.000Z","updated_at":"2025-08-08T21:38:43.000Z","dependencies_parsed_at":"2024-01-03T03:30:34.019Z","dependency_job_id":"f9d28f5e-b369-4ee4-b4f7-6b2a2128abb2","html_url":"https://github.com/bfredl/nvim-luadev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bfredl/nvim-luadev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfredl%2Fnvim-luadev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfredl%2Fnvim-luadev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfredl%2Fnvim-luadev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfredl%2Fnvim-luadev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfredl","download_url":"https://codeload.github.com/bfredl/nvim-luadev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfredl%2Fnvim-luadev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005968,"owners_count":26084004,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nvim","repl"],"created_at":"2024-07-30T20:01:27.640Z","updated_at":"2025-10-11T02:43:06.200Z","avatar_url":"https://github.com/bfredl.png","language":"Lua","readme":"# nvim-luadev\n\nThis plugins set up a REPL-like environment for developing lua plugins in Nvim.\nThe `:Luadev` command will open an scratch window which will show output from executing lua code.\n\nUse the folllowing mappings to execute lua code:\n\nBinding                       | Action\n-------------------------     | ------\n`\u003cPlug\u003e(Luadev-RunLine)`      | Execute the current line\n`\u003cPlug\u003e(Luadev-Run)`          | Operator to execute lua code over a movement or text object.\n`\u003cPlug\u003e(Luadev-RunWord)`      | Eval identifier under cursor, including `table.attr`\n`\u003cPlug\u003e(Luadev-Complete)`     | in insert mode: complete (nested) global table fields\n\nIf the code is a expression, it will be evaluated, and the result shown with\n`inspect.lua`. Otherwise it will be executed as a block of code. A top-level\n`return` will cause the returned value to be inspected. A bare `nil` will not\nbe shown.\n\nGlobal `print()` is also redirected to the output buffer, but only when executing\ncode via this plugin. `require'luadev'.print(...)` can be used to print to the\nbuffer from some other context.\n\nPlanned features:\n\n - [x] autodetect expression vs statements\n - [x] Fix `inspect.lua` to use `tostring()` on userdata (done on a local copy)\n - [x] completion of global names and table attributes (WIP: basic implementation done)\n - [x] make `\u003cPlug\u003e(Luadev-Run)` a proper operator\n - [ ] solution for step-wise execution of code with `local` assignments (such\n        as a flag to copy local values to an env)\n - [x] tracebacks\n - [ ] interactive debugging\n - [x] debug helpers for async callbacks (WIP)\n","funding_links":[],"categories":["Neovim Lua Development","Lua"],"sub_categories":["Quickfix"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfredl%2Fnvim-luadev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfredl%2Fnvim-luadev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfredl%2Fnvim-luadev/lists"}