Clarify how to deal with init.lua

pull/618/head
Arijit Basu 1 year ago
parent 4228a71ed9
commit 8aff0ba918
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -133,3 +133,16 @@ return {
}
}
```
---
> Note:
>
> It's not recommended to copy the entire configuration, unless you want to
> freeze it and miss out on useful updates to the defaults.
>
> Instead, you can use this as a reference to overwrite only the parts you
> want to update.
>
> If you still want to copy the entire configuration, make sure to put your
> customization before the return statement.

@ -3025,3 +3025,15 @@ return {
on_mode_switch = {},
on_layout_switch = {},
}
-- ----------------------------------------------------------------------------
-- > Note:
-- >
-- > It's not recommended to copy the entire configuration, unless you want to
-- > freeze it and miss out on useful updates to the defaults.
-- >
-- > Instead, you can use this as a reference to overwrite only the parts you
-- > want to update.
-- >
-- > If you still want to copy the entire configuration, make sure to put your
-- > customization before the return statement.

Loading…
Cancel
Save