plugins/ui: normalize plugin defaults

This commit is contained in:
Matt Sturgeon 2024-06-11 16:54:41 +01:00
parent d7b0cf8014
commit b10a391bd0
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
8 changed files with 288 additions and 243 deletions

View file

@ -16,19 +16,17 @@ helpers.neovim-plugin.mkNeovimPlugin config {
settingsOptions = {
mappings =
helpers.defaultNullOpts.mkListOf types.str
''
[
"<C-u>"
"<C-d>"
"<C-b>"
"<C-f>"
"<C-y>"
"<C-e>"
"zt"
"zz"
"zb"
]
''
[
"<C-u>"
"<C-d>"
"<C-b>"
"<C-f>"
"<C-y>"
"<C-e>"
"zt"
"zz"
"zb"
]
''
All the keys defined in this option will be mapped to their corresponding default
scrolling animation. To no map any key pass an empty table: