mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 04:14:37 +02:00
feat(config): allow to disable loading of the default keymaps/autocmds/options. Fixes #238
This commit is contained in:
parent
d9b1c79c3e
commit
6669e63368
2 changed files with 18 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue