Closed PMassicotte closed 6 months ago
I get most arguments for lm
. I don't get the description of x
, y
, and model
, but I get the description of qr
. So, the bug on my side is the need to copy the description when two or more arguments are described together.
I am not getting description for any functions.
The descriptions are saved in the args_
files at ~/.cache/R.nvim
. In this case, args_stats_
, and you should find a line beginning with lm^F
within it, where ^F
is the byte x06
.
This is what I have:
Does it look ok?
I can see ^F
instead of empty space:
^F
(\x06
) is used to separate arguments, and ^E
(\x05
) is used to separate arguments from their descriptions.
I am a bit lost now :) I understand that section are not correctly separated on my side?
There are present, if you zoom on my image, just very pale
So, the problem isn't there...
If I put options(nvimcom.verbose=3)
in my ~/.Rprofile
, I can see this in the R Console after opening the parenthesis of lm
:
nvimcom Received: [E] nvimcom:::nvim_complete_args("2", "lm", "")
send_to_nvim [5] {2553555838}: +A2;;lm;#
The message +A2;;lm;#
sent from nvimcom
to rnvimserver
means that R.nvim
should look for arguments for lm
and not for something else (a method of another function).
Ok it works now. I am using chezmoi to manage my dotfiles and somehow, I had an older version of cmp-r which pointed to an older branch. All good now, and sorry for that!
Good to know that it wasn't an R.nvim bug, and that you managed to fix it!
I get most arguments for
lm
. I don't get the description ofx
,y
, andmodel
, but I get the description ofqr
. So, the bug on my side is the need to copy the description when two or more arguments are described together.
This bug was fixed by https://github.com/R-nvim/R.nvim/commit/268832c8c26bb966ef485dbe58a4d3177a0a85a0
Very nice!
I get most arguments for
lm
. I don't get the description ofx
,y
, andmodel
, but I get the description ofqr
. So, the bug on my side is the need to copy the description when two or more arguments are described together.This bug was fixed by 268832c
Just tested it and it works perfectly.
I am not getting any information/description on function argument. I am missing something?