Closed dankelley closed 1 year ago
I can't replicate the issue. Perhaps, it's something related to Treesitter or LSP...
Thanks. That was my guess. I will close this now, with my sincere thanks. If I ever discover the problem, I will add a comment explaining it, so that other folks might see it in future.
Many thanks, as always. Dan.
I am using neovim quite a lot lately, and liking it a lot. One thing I've noticed, though is a change from what macvim does for me. With macvim if I have e.g.
and indent it, it stays as you can see. However, if I indent this with neovim, the second line is lined up with the first, e.g.
I am wondering whether there is a variable setting for this. I have to admit, though, that I have become a bit lost on how to update things in either macvim or neovim, and so I am not even really sure where my settings files are with macvim. With neovim, I have a
~/.config/nvim/init.lua
that I copied from someone a few months ago (via this friendly webpage!!!). Rather than paste the whole thing nearly 2000 lines of that, I am putting what I think the relevant bits, below (click Details to see).The embarrassing thing is that I don't actually even know "who" is doing the indentation. I don't understand neovim well enough to know whether the indentation is being done by Nvim-R or by something else (the LSP?)
Jakson, I am very sorry this issue is so lacking in detail and precision. Please feel free to delete it, if you judge it to be a waste of time!! And, as always, thanks a million for all the work you've done on the R vim-mode over the years. I could not imagine how I would have any hair left, at all, if I had to use R.app or RStudio to work with R.
Dan.