Giter Club home page Giter Club logo

Comments (4)

m4xshen avatar m4xshen commented on July 3, 2024

The nui is required when you run :Hardtime report. As for plenary, I didn't use it in this plugin. I'll need to figure out why this error happens.

from hardtime.nvim.

m4xshen avatar m4xshen commented on July 3, 2024

Can you provide the screenshot of the crash messages?

from hardtime.nvim.

rosingrind avatar rosingrind commented on July 3, 2024

The nui is required when you run :Hardtime report

I didn't know this, as I didn't run it once, pardon my ignorance.

crash messages

I use lazy.nvim, the plugin is not loaded on-demand, my opts are:

opts = {
    notification = false,
    hint = true,
    disable_mouse = false,
}

To reproduce the issue, you need to:

  1. Enable hints via hint = true
  2. Trigger a hint (e.g. press l and then i)
Error executing  vim.on_key Lua callback: vim/_editor.lua:0: Error executing 'on_key' with ns_ids '2'
    Messages: ...local/share/nvim/lazy/hardtime.nvim/lua/hardtime/log.lua:172: module 'plenary.path' not found:
        no field package.preload['plenary.path']
cache_loader: module plenary.path not found
cache_loader_lib: module plenary.path not found
        no file './plenary/path.lua'
        no file '/opt/homebrew/share/luajit-2.1.0-beta3/plenary/path.lua'
        no file '/usr/local/share/lua/5.1/plenary/path.lua'
        no file '/usr/local/share/lua/5.1/plenary/path/init.lua'
        no file '/opt/homebrew/share/lua/5.1/plenary/path.lua'
        no file '/opt/homebrew/share/lua/5.1/plenary/path/init.lua'
        no file './plenary/path.so'
        no file '/usr/local/lib/lua/5.1/plenary/path.so'
        no file '/opt/homebrew/lib/lua/5.1/plenary/path.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './plenary.so'
        no file '/usr/local/lib/lua/5.1/plenary.so'
        no file '/opt/homebrew/lib/lua/5.1/plenary.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'error'
        vim/_editor.lua: in function <vim/_editor.lua:0>
Screenshot 2023-08-14 at 8 18 17 AM

from hardtime.nvim.

m4xshen avatar m4xshen commented on July 3, 2024

I found the issue. The log.lua requires plenary. Thanks a lot!

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