Comments (2)
SO: super late response, and my assumption is that you probably aren't using lua-lsp anymore, but on the off-chance you/anybody else who comes across this bug can provide more info that'd be very helpful to help me prioritise future work:
cross-file jump to definition right now works in a very limited way: if you have a local module that is defined using the 'require' command, we can follow that module up the chain to find methods on it. Globals afaict do not work: with a bit of elbow grease I may be able to fix them up IF the file where you defined the global is currently open (we don't support full project scanning yet, either).
To follow require paths, we use the field packagePath in your luaCompleterc, which defaults to "./?.lua". This should work for most uses of love, but if the problem is really in the finding of different modules, that's also good to know.
from lua-lsp.
closed due to age
from lua-lsp.
Related Issues (20)
- Not able to use lua-lsp with LanguageClient-Neovim HOT 1
- ERROR with lua-lsp, lua version is 5.3 HOT 1
- Goto definition is not working on field methods HOT 2
- accept more recent lpeglabel HOT 2
- autocomplete for /home/user/.luarocks HOT 4
- I Meet A ERROR When Start LU-LSP.BAT HOT 2
- Update LuaRocks Package HOT 1
- Can't install HOT 4
- support Lua 5.4 HOT 5
- produce a binary using luastatic or similar
- fill missing using package manager luarocks HOT 1
- Can't install lua-lsp HOT 2
- Assertion failed "in upvalue 'make_position'"
- Error running with Emacs lsp-mode on M1 macOS
- How would I configure this with nvim built-in LSP client? HOT 2
- noob question: can I put luacompleterc under XDG config?
- Use ssh:// protocol to install - http "The unauthenticated git protocol on port 9418 is no longer supported." HOT 1
- Update dkjson dependency
- Provide instructions on how to build this without luarock? HOT 1
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 lua-lsp.