Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

" " is always inserted after a completion #151

Open
oxinabox opened this issue Jan 3, 2021 · 0 comments
Open

" " is always inserted after a completion #151

oxinabox opened this issue Jan 3, 2021 · 0 comments

Comments

@oxinabox
Copy link

oxinabox commented Jan 3, 2021

I think it is this code here https://github.com/judah/haskeline/blob/28ee26ad5b4ae1c0584f2ec11ac53be9671bf878/System/Console/Haskeline/Command/Completion.hs#L22

As far as I can tell there is no way to configure this.

Most of the time that behavour is what is wanted,
but sometimes it isn't, so it would be good to present a way to write a Completion that doesns't do that.

Example of when it is not wanted is if I have a keyword that must always be followed by a quoted string, then I would like to complete up to and include the openning quote. eg opeopen "
but right now that would effectively complete to open " (not the a space after the ")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant