--[[ Neovim Lua config: ways to set things - vim.opt : preferred modern API for options (handles lists, cleaner syntax) - vim.g : global variables (leader key, plugin settings, disable builtins, etc.) - vim.o : global-only option (rarely needed directly) - vim.wo : window-local option (applies to current window only, use in autocmds) - vim.bo : buffer-local option (applies to current buffer only, use in autocmds) - vim.env : set environment variables (like PATH, LANG) - vim.fn : call Vimscript functions (e.g. vim.fn.getcwd()) - vim.cmd : run raw Vimscript/Ex commands (e.g. vim.cmd("colorscheme desert")) - vim.api : low-level Neovim API (create autocmds, keymaps, buffer/window ops, etc.) TL;DR -> use vim.opt + vim.g in options.lua for defaults. Use vim.wo/vim.bo only in context-specific tweaks (autocmds). Use vim.env, vim.fn, vim.cmd, vim.api as needed for scripting. ]] require("config.options") require("config.keymaps") require("config.lazy") require("config.autocmds")