Walkthrough

    • Make sure that you read sections in config (in the sidebar of this site) orderwise.
    • The file names in the tree with (i) are meant to be ignored , i.e the user doesn’t need to look at them as the lua code in those files might fret you or look very complex / scare you from NvChad xD.
    • (note) : custom dir has to be created by the user.

    Walkthrough

    • Letss goooo!
    • NvChads’s config has a lua dir and init.lua.
    • The init.lua basically loads the core config and custom config.
    • pcall is usually used for error handling . Check lua docs for more info.

    Themes

    • ( is in our config)

    Default general options

    • This file is lua/core/default_config.lua
    • The table below contains all the default options for various stuff in NvChad.

    Plugins

    • The lua/plugins dir contains three files, init.lua, packerInit.lua.
    • packerInit.lua : this file is used for defining packer’s init stuff, so things like clone_timeout , compile_on_sync , etc and other packer related options are mentioned here.
    • init.lua : is basically the packer config listing various plugins, it calls packerInit first and then following with definitions of other plugins + their configs’