Git Product home page Git Product logo

Comments (15)

jalvesaq avatar jalvesaq commented on August 18, 2024 1

Good to know that it wasn't an R.nvim bug, and that you managed to fix it!

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024 1

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.

This bug was fixed by 268832c

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

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.

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

I am not getting description for any functions.

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

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.

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

This is what I have:

image

Does it look ok?

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

I can see ^F instead of empty space:

image

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

^F (\x06) is used to separate arguments, and ^E (\x05) is used to separate arguments from their descriptions.

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

I am a bit lost now :) I understand that section are not correctly separated on my side?

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

There are present, if you zoom on my image, just very pale

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

So, the problem isn't there...

from r.nvim.

jalvesaq avatar jalvesaq commented on August 18, 2024

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).

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

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!

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

Very nice!

from r.nvim.

PMassicotte avatar PMassicotte commented on August 18, 2024

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.

This bug was fixed by 268832c

Just tested it and it works perfectly.

from r.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.