test(buffer_updates_spec): move on_detach tests to its block (#37297)

This commit is contained in:
zeertzjq
2026-01-08 09:59:27 +08:00
committed by GitHub
parent 625a2bfde8
commit bfb70c03ff
3 changed files with 47 additions and 45 deletions

View File

@@ -2605,7 +2605,7 @@ const char *did_set_langmap(optset_T *args)
langmap_set_entry(from, to);
} else {
if (to > UCHAR_MAX) {
swmsg(true, "'langmap': mapping from %.*s to %.*s will not work properly",
swmsg(true, "'langmap': Mapping from %.*s to %.*s will not work properly",
utf_ptr2len(from_ptr), from_ptr, utf_ptr2len(to_ptr), to_ptr);
}
langmap_mapchar[from & 255] = (uint8_t)to;