i think this is a reasonable compromise, since 1) i think this code is just trying to get the actual mapping so it can show something in the which key menu if the user hasn't supplied a description, 2) there isn't anything useful to display in the case of a Lua implementation, and 3) if we don't ignore these, i'm getting errors like the following in neovim 0.9.0:
Error detected while processing function which_key#start[26]..<SNR>35_cache_key[4]..which_key#mappings#parse:
line 25:
E716: Key not present in Dictionary: "rhs])"
E116: Invalid arguments for function call
line 34:
E716: Key not present in Dictionary: "rhs, '<SID>', '<SNR>'.mapd['sid'].'_', 'g')"
E116: Invalid arguments for function substitute
i think this is a reasonable compromise, since 1) i think this code is just trying to get the actual mapping so it can show something in the which key menu if the user hasn't supplied a description, 2) there isn't anything useful to display in the case of a Lua implementation, and 3) if we don't ignore these, i'm getting errors like the following in neovim 0.9.0:
thank you for the fantastic plugin. 🙇