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

Reconnecting tweaks #74

Merged
merged 1 commit into from Jan 4, 2019
Merged

Conversation

matthias-margush
Copy link
Contributor

Disconnect and reconnecting works:

:IcedConnect | IcedDisconnect | IcedConnect

Makes :IcedReconnect work if a connection is not already established.

Disconnect and reconnecting works:
```
:IcedConnect | IcedDisconnect | IcedConnect
```

Makes `:IcedReconnect` work if a connection is not already established.
@matthias-margush matthias-margush changed the title Fix bugs related to reconnecting Reconnecting tweaks Jan 4, 2019
@@ -321,12 +321,15 @@ function! iced#nrepl#disconnect() abort " {{{
call iced#nrepl#sync#close(id)
endfor
call iced#di#get('channel').close(s:nrepl['channel'])
call s:initialize_nrepl()
let s:nrepl = s:initialize_nrepl()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks!

@liquidz liquidz merged commit ad5875f into liquidz:master Jan 4, 2019
liquidz added a commit that referenced this pull request Jan 4, 2019
@liquidz
Copy link
Owner

liquidz commented Jan 4, 2019

@matthias-margush Thank you for your working!
I fixed some failed tests and merged.

liquidz added a commit that referenced this pull request Jan 4, 2019
@matthias-margush
Copy link
Contributor Author

Thanks for fixing the tests... I'm not very familiar with vimscript & testing. Will need to read up on that sometime.

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.

None yet

2 participants