neoclide / coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Other
24.15k stars 953 forks source link

How to stop annoying prompt? #4989

Closed zakalla closed 2 months ago

zakalla commented 2 months ago

When opening a lua file, a buffer appears showing this:

Do you need to configure your work environment as luafilesystem? (1)Apply and modify settings, (2)Apply but do not modify settings, (3)Don't show again:

It doesn't matter which option you choose because it keeps popping up.

I add it in CocConfig like this: "Lua": { "workspace.checkThirdParty": false } But it doesn't work. Please tell me how to fix it. Thank you!

fannheyward commented 2 months ago

This prompt is coming from https://github.com/LuaLS/lua-language-server, are you using coc-sumneko-lua ?

Try "Lua.workspace.checkThirdParty": false, or"Lua.workspace.checkThirdParty": "Disable"`