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

Racket support #98

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Racket support #98

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 19, 2018

Actually, so buggy.

@ghost
Copy link
Author

ghost commented Sep 19, 2018

I added it but it still doesnt works.

@ghost ghost mentioned this pull request Sep 19, 2018
@ghost
Copy link
Author

ghost commented Sep 19, 2018

A big possibility: Does codi.vim shows last line only?

@metakirby5
Copy link
Owner

Yes, codi associates a line with the last non-prompt output without leading whitespace. See the OUTPUT SPECIFICATION section of the docs for more details.

@ghost
Copy link
Author

ghost commented Sep 20, 2018

I don't know Vimscript that good. What should I do?

@metakirby5
Copy link
Owner

No better time than now to learn :) See the section on preprocess for more information.

@anryoshi
Copy link

Greetings!
Looks like Racket loads its prompt really slow. That causes incorrect commination with job.
Results are on lines with prompts and as result are not shown in scratch.

[18:04:09.628252] <SNR>109_user_au[1]: Doing autocommand CodiEnterPre
[18:04:09.666101] <SNR>109_user_au[1]: Doing autocommand CodiUpdatePre
[18:04:09.673457] <SNR>109_codi_do_update[29]: Starting job for buffer 1
[18:04:09.680903] <SNR>109_codi_do_update[65]: [INPUT] (+ 1 2)
[18:04:09.687313] <SNR>109_codi_do_update[66]: Expecting 3 prompts
[18:04:09.695033] <SNR>109_user_au[1]: Doing autocommand CodiEnterPost
[18:04:09.703184] <SNR>109_codi_handle_data[9]: [DATA] (+ 1 2)
[18:04:09.717309] <SNR>109_codi_handle_data[9]: [DATA] Welcome to Racket v7.2.
[18:04:10.297340] <SNR>109_codi_handle_data[9]: [DATA] > 3
[18:04:10.303727] <SNR>109_codi_handle_data[14]: Matched prompt
[18:04:10.310567] <SNR>109_codi_handle_data[9]: [DATA] >
[18:04:10.317069] <SNR>109_codi_handle_data[14]: Matched prompt
[18:04:11.400635] <SNR>109_user_au[1]: Doing autocommand CodiLeavePre
[18:04:11.409399] <SNR>109_user_au[1]: Doing autocommand CodiLeavePost

@metakirby5 May you recommend any good way to fix this?

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

Successfully merging this pull request may close these issues.

2 participants