-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to let the lua LSP find local libraries, such as plenary #6
Comments
hey @Murderlon thanks for the feedback. I use this plugin which already loads the plugins I have (including plenary) in the workspace. Maybe it can help you |
I use LazyVim from folke which includes that plugin. It's great for vim api's, but I'm talking about plenary. It's added by default in this project but the LSP doesn't understand it exists. So it doesn't know which imports exists, which methods and so on. I was hoping we could add a |
Can you clarify what places are you going to use plenary for this template, please? |
This template is great, it saved a lot of time.
There is just one thing I don't understand, which is how to make
lua_ls
(language server for lua) understand where to find the code forplenary
. By defaultplenary
is put into/tmp
.I tried to create a
.luarc.json
to find it but I failed:Since the docs of plenary are so limited and the LSP doesn't know anything about the available methods and imports of plenary, it's quite hard to develop locally.
The text was updated successfully, but these errors were encountered: