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

__gore_p( inserted into multiline input #40

Closed
willfaught opened this issue Jul 31, 2015 · 2 comments
Closed

__gore_p( inserted into multiline input #40

willfaught opened this issue Jul 31, 2015 · 2 comments

Comments

@willfaught
Copy link

End a line with a left parenthesis, enter a new line, then enter tab to indent:

$ gore
gore version 0.2.2  :help for help
gore> func(x int){}(
..... __gore_p(

Instead of a tab, __gore_p( is inserted where the cursor was, and the cursor is moved after the insertion.

Looks related to #20.

@willfaught
Copy link
Author

Verified in 0.2.4 too.

@motemen
Copy link
Member

motemen commented Sep 2, 2015

Thanks for your issue.

tab is used for code completion, so it seems the implicitly declared function __gore_p appeared as completion candidate. I see some problems here:

Issued as separated problems, so I'm closing this issue now. Thanks!

@motemen motemen closed this as completed Sep 2, 2015
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

2 participants