Thoughts on Ark / ark.nvim #591
Replies: 8 comments
-
|
That is nice to see another project. In fact, just starting the kernel Besides that, I think that air will eventually be a full lsp that could be added to whatever IDE people want to use. What do you think? |
Beta Was this translation helpful? Give feedback.
-
|
That's great! In my opinion, we can create options to disable in |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your comments, both!
Yeah, I believe that's the plan. In fact, from what I've seen in GitHub issues, lots of features will eventually be migrated to Air from Ark – but not the ability for the LSP to respond to changes in the R environment. I suppose Air will probably become the de-facto LSP server for R in most editors, but I also think there's room for a more specialised plugin which wraps Ark to get more advanced LSP features, plus potentially a variables pane, DAP server, etc.
I think this could make sense in the long term! In that case I'll continue working on the plugin in my spare time, and once I feel confident in the general architecture perhaps we could discuss how to optimise the two plugins to play nicely with each other :) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Can you explain what you mean here? I am not sure to understand :) |
Beta Was this translation helpful? Give feedback.
-
No problem :) For example take the following code: x <- iris
x$With Ark, similarly to cmp-r, the cursor just after the |
Beta Was this translation helpful? Give feedback.
-
|
Excellent explanation, tx! |
Beta Was this translation helpful? Give feedback.
-
|
What is the news on this? I see that the name of the project now is |
Beta Was this translation helpful? Give feedback.
-
|
I think we should convert this to Discussion... |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @jalvesaq, @PMassicotte :)
You might have seen already, but I recently started work on ark.nvim, a plugin which in theory could eventually replicate a lot of the functionality of R.nvim using the Ark Jupyter kernel as a back-end.
The obvious question is, would it be better to just bring Ark into R.nvim? My feeling is no, I don't think Ark would be a good fit for this plugin. The reasons for this are outlined below, copied from a response I wrote to a question from an R.nvim user. I'll probably add something like this to the ark.nvim README if you both agree with my thinking.
Currently ark.nvim is at 'minimum viable product' stage, and is really just a proof of concept. Whether or not I'll manage to develop it into something more serious, time will tell! However, my plan for the project is to use Rust to create a framework for Neovim to talk to Jupyter kernels, then use this to power ark.nvim.
Very grateful to hear any thoughts from either of you about the project, and especially how you think it could/should relate to R.nvim! I don't see it becoming a viable alternative to R.nvim any time soon, but best case scenario, eventually it could do.
Copied from my response to a question on Reddit:
Beta Was this translation helpful? Give feedback.
All reactions