NvChad / starter

Starter config for NvChad
The Unlicense
66 stars 255 forks source link

Lsp diagnostic - "undefined type or alias `chadrcConfig` #21

Closed kert-daiki closed 2 months ago

kert-daiki commented 2 months ago

Hi, I hope you're well

I get this warning in lsp when open chardrc.lua file

image image

Do you know what ChadrcConfig does?

siduck commented 2 months ago

this will happen if you setup lua_ls without any types, i'm assuming u did it in your lspconfig. If you dont include it then nvchad's default lua_ls setup is called which has types, either copy our code or dont include lua_ls in your lspconfig