feat(config): allow to disable loading of the default keymaps/autocmds/options. Fixes #238

This commit is contained in:
Folke Lemaitre 2023-02-11 08:59:42 +01:00
parent d9b1c79c3e
commit 6669e63368
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 18 additions and 2 deletions

View file

@ -160,6 +160,12 @@ end
function M.update2()
local docs = vim.fs.normalize("~/projects/lazyvim.github.io/docs")
local config = Docs.extract("lua/lazyvim/config/init.lua", "\nlocal defaults = ({.-\n})")
Docs.save({
config = config,
}, docs .. "/configuration/index.md")
Docs.save({
general = M.general(),
}, docs .. "/configuration/general.md")