Skip to main content

Commands

Autocmds

you can autocommands with:

nvoid.autocommands = {
{
"autocmd events",
{
pattern = { "pattern" },
command = "vimscpript",
}
},
}

You can also add lua callbacks

nvoid.autocommands = {
{
"autocmd events", {
pattern = {"pattern" },
callback = function()
-- lua function
end
},
}
}

Custom Commands

CommandDescription
NvoidCacheResetclearing any outdated settings
NvoidDiagnosticsshow LSP diagnostics
NvoidDocsOpen nvoid.org
NvoidInfoOpens Info window
NvoidOpenlogOpens nvoid log(errors)
NvoidReloadReloads config.lua
NvoidSyncCorePluginsSyncs core plugins
NvoidToggleFormatOnSaveturn format on save on/off
NvoidUpdateUpdates nvoid