NvChad/nvchad.github.io

Bad config file path in LSP config section

Tenshock opened this issue · 1 comments

In Setup lsp server, instructions to setup lsp configuration mismatch between the configuration override in custom/plugins.lua and the example provieded with path custom/plugins/lspconfig.lua.

The plugin override in custom/plugins.lua specifies a require to custom.plugins.lspconfig and the example provided has custom/configs/lspconfig.lua as target file.

Either update the require to match as follows

{- require "custom.plugins.lspconfig" -}
{+ require "custom.configs.lspconfig" +}

or update the target file to custom/plugins/lspconfig.lua

P.S: the doc is well made, thanks for the project!

thanks for reporting @Tenshock