mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
fix: explain that user should run nvim with -V1 to see more information
It's not obvious for users how to figure out where a mapping is set from only "Last set from Lua".
This commit is contained in:
@@ -2392,7 +2392,7 @@ char *get_scriptname(LastSet last_set, bool *should_free)
|
||||
case SID_WINLAYOUT:
|
||||
return _("changed window size");
|
||||
case SID_LUA:
|
||||
return _("Lua");
|
||||
return _("Lua (run Nvim with -V1 for more details)");
|
||||
case SID_API_CLIENT:
|
||||
snprintf(IObuff, IOSIZE, _("API client (channel id %" PRIu64 ")"), last_set.channel_id);
|
||||
return IObuff;
|
||||
|
Reference in New Issue
Block a user