8000 User callback for argument completion · Issue #201 · andrewchambers/janetsh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
User callback for argument completion #201
Open
@ALSchwalm

Description

@ALSchwalm

It would be nice to allow users to register callbacks for completing a command. This would allow them to keep the normal completion logic we have while getting custom stuff for completing e.g. git. It would also save people from needing to redundantly implement parsing logic, etc. I'm thinking something like: https://elv.sh/ref/edit.html#argument-completer

It would probably be best to wait to do this until after janet-lang/janet#121 is implemented, but I thought I'd go ahead and open an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0