Replies: 1 comment
-
|
Same but no warning disappearing upon edits, on nightly, Windows. Figured out the problem for my case: Symlinking |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I open a lua file, such as
init.lua, then open another one like my plugin config formason, I'll get warnings in themason.luafile such asLua Diagnostics.: Undefined global 'require'.(You can treat 'require' as 'require' by setting.)But if I
:eor type some stuff in insert mode which causes the buffer to update, the warnings go away.Does anyone know what is going on and how I can make the warnings go away automatically?
I'm using
NVIM v0.11.0on Arch Linux, and I think these are all the related configs:lazydev.lua:
lsp_config.lua:
lsp/lua_ls.lua:
Beta Was this translation helpful? Give feedback.
All reactions