Comments (3)
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.
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.
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)
- Doesn't work with multiple buffers HOT 3
- "Don't know how to handle JumpToError" HOT 5
- Example for set up with Lazy package manager HOT 2
- Support Cmd_solveOne HOT 1
- Instructions for nix-managed neovim HOT 2
- Libraries from MAlonzo/ HOT 3
- `commentstring` missing HOT 6
- Error executing lua .../nvim/site/pack/packer/start/nvim-agda/lua/agda/init.lua:2: module 'lua-utf8' not found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-agda.