-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow parsing contest #21
Comments
or we can move this line out of the function and don't close, that will receive multi problem without retype CphReceive, that's very handy.
|
Keeping the server on would be a waste of resources right? |
yeah, but to me it's very convenient and more suits my needs. |
It takes like 1 second to |
I have another reason why we should keep server open, if we want parse contest, that will need us to receive multi problem at once, if the server close it can only receive the first problem. you can try to parse a codeforces contest, like this link:Codeforces Round #779 (Div. 2) |
When I start neovim, CphReceive one problem is ok, but if I CphReceive another problem, it does nothing, I have to restart the neovim and it receive again. looks like it can only receive one problem in one session.
I check the source code, find here:
cphelper.nvim/lua/cphelper/receive.lua
Line 37 in 7d18ff6
looks like the server didn't close like the client, so I add this:
M.server:close()
and it worked properly.
please check if this is a bug.
The text was updated successfully, but these errors were encountered: