From f0b8e0ed4ad70cebe551015d59545464e9ba1def Mon Sep 17 00:00:00 2001 From: Guennadi Maximov C Date: Thu, 30 May 2024 12:31:17 -0600 Subject: [PATCH] chore: `README` update and fix. --- README.md | 81 ++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index e08b7a5f..a32d2afd 100644 --- a/README.md +++ b/README.md @@ -254,39 +254,74 @@ and other fields corresponding to each parameter. -
- -Other functions and utilities will be included in the future. If they -are unmentioned here, they're not finished. - ---- +
+
+

maps.wk

-WARNING: For the moment the API won't register a keymap without -a description defined for such keymap -(A.K.A. the desc field in the keymap options). +
+ +WARNING: For the moment the API won't register a keymap without +a description defined for such keymap +(A.K.A. the desc field in the keymap options). I will try to correct for this behaviour later, but for documentation purposes I'm leaving this bug as an enforcer to keep keymaps documented. -
+
+
The `maps` API also includes integration with [`which_key`](https://github.com/folke/which-key.nvim) as `user.maps.wk`. @@ -319,9 +354,7 @@ end ``` If you try to use `wk.register()` despite not being available it'll -return `false` and refuse to process your keymaps. - -
+return `false` and refuse to process your keymaps altogether. If you want to convert a keymap table, you must first structure it as follows: