Giter Club home page Giter Club logo

Comments (4)

folke avatar folke commented on August 16, 2024 1

That's because you're running with an outdated version of lazy.nvim

from lazy.nvim.

jrop avatar jrop commented on August 16, 2024

BTW, this is a great project, and I love using lazy.nvim. My startup time is so fast thanks to this plugin. Thanks for contributing this to the NeoVim community.

from lazy.nvim.

keith-rollin avatar keith-rollin commented on August 16, 2024

I just got this error, too. I entered the main dialog with ":Lazy" and pressed "U" to update. I got the following message:

[nvim-treesitter] [0/6] Downloading tree-sitter-vimdoc...
Error executing vim.schedule lua callback: ...keith/.local/share/nvim/lazy/lazy.nvim/lua/lazy/help.lua:53: attempt to index field 'uv' (a nil value)
stack traceback:
        ...keith/.local/share/nvim/lazy/lazy.nvim/lua/lazy/help.lua:53: in function 'fn'
        .../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:190: in function 'ls'
        ...keith/.local/share/nvim/lazy/lazy.nvim/lua/lazy/help.lua:51: in function 'update'
        ...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:118: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:116>

That corresponds to this code:

  Util.ls(docs, function(path, name, type)
    if type == "file" and name:sub(-2) == "md" then
      vim.uv.fs_unlink(path)
    end
  end)

I verified that the function exists:

:lua =vim.uv.fs_unlink
<function 1>                                                                                                                                      

I'm using:

:version                                                                                                                                           
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1710088188

from lazy.nvim.

keith-rollin avatar keith-rollin commented on August 16, 2024

Reading the related closed issues, it's possible that the issue I encountered is fixed already. I see, for example, that lazy.nvim appears to have successfully self-updated, so I may have been running an old version until that happened.

from lazy.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.