GithubHelp home page GithubHelp logo

Can't find lua-utf8 about nvim-agda HOT 3 CLOSED

ashinkarov avatar ashinkarov commented on September 25, 2024
Can't find lua-utf8

from nvim-agda.

Comments (3)

ashinkarov avatar ashinkarov commented on September 25, 2024

Hi, it seems that this is a version compatibility problem. Nvim uses lua 5.1, so if your system-wide install uses other versions of lua, then surely neovim will fail to locate it. Also, your picture shows all the paths that neovim is searching at. Make sure that the install path of lua-utf8 matches one of the search paths from the picture. However, I would bet that this is a library version problem.

from nvim-agda.

liamwh avatar liamwh commented on September 25, 2024

Using luarocks, you can specify the lua-version to 5.1 like so:

luarocks --lua-version=5.1 install luautf8 --local

Then you can also add your lua paths to neovim like so:

local home = os.getenv("HOME")
package.path = package.path .. ";"
    .. home .. "/.luarocks/share/lua/5.1/?.lua;"
    .. home .. "/.luarocks/share/lua/5.1/?/init.lua;"
package.cpath = package.cpath .. ";"
    .. home .. "/.luarocks/lib/lua/5.1/?.so;"

Does this resolve your issue @WinstonMDP?

from nvim-agda.

WinstonMDP avatar WinstonMDP commented on September 25, 2024

Unfortunately, I no longer use agda. so I can't check. I will close this issue. Thanks for help, anyway.

from nvim-agda.

Related Issues (9)

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.