Skip to main content

Available User Options

init.lua table keyExpected FormatUse CaseAlternate File Path (in user/ folder)
updatertable or function(table)...endThe configuration for the AstroNvim updaterupdater.lua
colorschemestringThe colorscheme to be setcolorscheme.lua
optionstable or function(table)...endThe vim.x.y variables to be setoptions.lua
headertable of stringsThe header to be displayed on the Dashboardheader.lua
uitable or function(table)...endToggle custom UI elements (nui_input controls NUI for inputs, telescope_select controls Telescope for selections)ui.lua
polishfunction()...endLua function to be run last. Good place for setting vim options and adding mappingspolish.lua
default_theme.diagnostics_styletable or stringSet highlight style options for virtual textdefault_theme/diagnostics_style.lua
default_theme.colorstable or function(table)...endModify the default theme's color tabledefault_theme/colors.lua
default_theme.highlightstable or function(table)...endModify the default theme's highlight groupsdefault_theme/highlights.lua
default_theme.pluginstable or function(table)...endModify the default theme's enabled plugin highlight groupsdefault_theme/plugins.lua
diagnosticstable or function(table)...endModify the default vim diagnostics optionsdiagnostics.lua
luasniptable or function(table)...endModify available luasnip optionsluasnip.lua
plugins.inittable or function(table)...endModify the default plugins table such as adding new pluginsplugins/init.lua
plugins.aerialtable or function(table)...endModify the aerial.setup() optionsplugins/aerial.lua
plugins.autopairstable or function(table)...endModify the autopairs.setup() optionsplugins/autopairs.lua
plugins.better_escapetable or function(table)...endModify the better_escape.setup() optionsplugins/better_escape.lua
plugins.bufferlinetable or function(table)...endModify the bufferline.setup() optionsplugins/bufferline.lua
plugins.cmptable or function(table)...endModify the cmp.setup() optionsplugins/cmp.lua
plugins.colorizertable or function(table)...endModify the colorizer.setup() optionsplugins/colorizer.lua
plugins.Commenttable or function(table)...endModify the Comment.setup() optionsplugins/Comment.lua
plugins.gitsignstable or function(table)...endModify the gitsigns.setup() optionsplugins/gitsigns.lua
plugins.nvim-web-deviconstable or function(table)...endModify the nvim-web-devicons.setup() optionsplugins/nvim-web-devicons.lua
plugins.indent_blanklinetable or function(table)...endModify the indent_blankline.setup() optionsplugins/indent_blankline.lua
plugins.indent-o-matictable or function(table)...endModify the indent-o-matic.setup() optionsplugins/indent-o-matic.lua
plugins.lualinetable or function(table)...endModify the lualine.setup() optionsplugins/lualine.lua
plugins.cinnamontable or function(table)...endModify the cinnamon.setup() optionsplugins/cinnamon.lua
plugins.neo-treetable or function(table)...endModify the neo-tree.setup() optionsplugins/neo-tree.lua
plugins.null-lstable or function(table)...endModify the null-ls.setup() optionsplugins/null-ls.lua
plugins.telescopetable or function(table)...endModify the telescope.setup() optionsplugins/telescope.lua
plugins.toggletermtable or function(table)...endModify the toggleterm.setup() optionsplugins/toggleterm.lua
plugins.treesittertable or function(table)...endModify the treesitter.setup() optionsplugins/treesitter.lua
plugins.which-keytable or function(table)...endModify the which-key.setup() optionsplugins/which-key.lua
which-key.register_mappingstable or function(table)...endModify the default which-key bindingswhich-key/register_mappings.lua
which-key.showfunction(orig_show)...endModify the default which-key.show() method. Must return function(key, opts)...endwhich-key/show.lua
cmp.source_prioritytable or function(table)...endModify the default cmp sources and their prioritiescmp/source_priority.lua
cmp.setuptable or function(table)...endModify the extended cmp setup callscmp/setup.lua
lsp.serverstable or function(table)...endList of language servers to be set up that are already installed without nvim-lsp-installerlsp/servers.lua
lsp.skip_setuptable or function(table)...endList of language servers to guarantee the lspconfig setup is never called on automaticallylsp/skip_setup.lua
lsp.server-settings.<lsp>table or function(table)...endModify the LSP server settings, replace <lsp> with server namelsp/server-settings/<lsp>.lua
lsp.on_attachfunction(client, bufnr)...endModify the lsp on_attach functionlsp/on_attach.lua
lsp.server_registrationfunction(server, opts)...endModify the lsp-installer server_registration functionlsp/server_registration.lua