>>108559353
>harpoon is a meme, you don't need it, especially if you haven't yet mastered vanilla navigation
>undotree is deprecated, it's now part of the stable neovim release
>vim-better-whitespace, literally a feature vi had
>mason-lspconfig is also useless, learn to configure your language server, chances are you'll be forced to enable specific lints manually
lazydev is also useless. You don't need it unless you are developping neovim plugins. And even if you are, it's not that useful because 99% of what it does it setup the workspace directory for lua_ls, which can be done manually, like this:
vim.lsp.config('lua_ls', {
on_attach = function(client, bufnr)
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end,
cmd = { os.getenv("HOME") .. "/.local/share/nvim/mason/bin/lua-language-server" },
filetypes = { "lua" },
settings =
{
Lua =
{
hint =
{
enable = true,
},
diagnostics = {
globals = { "vim" },
},
workspace = {
library = {
[vim.fn.expand "$VIMRUNTIME/lua"] = true,
[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
[vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types"] = true,
[vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true,
},
maxPreload = 100000,
preloadFileSize = 10000,
},
},
},
})