Git Product home page Git Product logo

Comments (5)

jalvesaq avatar jalvesaq commented on August 13, 2024

I can't replicate the issue with the development version of Neovim. Are any other warning messages displayed by :messages? You could try to completely remove Nvim-R and R.nvim and, then, install Nvim-R again (and never have both installed at the same time).

from nvim-r.

ssh352 avatar ssh352 commented on August 13, 2024

I can't replicate the issue with the development version of Neovim. Are any other warning messages displayed by :messages? You could try to completely remove Nvim-R and R.nvim and, then, install Nvim-R again (and never have both installed at the same time).

I tried it but the issue persist. there are no other warning messages.

Here is what I found

I cd to /usr/local/bin, then ./nvim ~/a.R, the issue is gone

then I cd ~ and nvim a.R, the issue appears again.

I am on MacOS and nvim is installed via homebrew. Luckily R.nvim works without any issue. I use NVIM_APPNAME to separate my Lua (R.nvim) and vim script (nvim-R) configurations. They are separated and won't affect each other.

from nvim-r.

ssh352 avatar ssh352 commented on August 13, 2024

It turns out I have a file r.lua in my home directory, where a.R is. I removed it and the issue is gone.

So it seems that nvim-r is picking up this r.lua file unintentionally.

It could be reproduced by putting a r.lua file together with a a.R file. If you open a.R you will get an error. If you you remove r.lua, there is no error.

from nvim-r.

jalvesaq avatar jalvesaq commented on August 13, 2024

I can replicate the issue. Even an empty r.lua causes problems. However, I guess it's a Neovim bug and not something to be fixed in Nvim-R.

from nvim-r.

ssh352 avatar ssh352 commented on August 13, 2024

yeah it may be related to how vim script works. closing since we found the root cause.

from nvim-r.

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.