Change the message when entering insert mode while readonly

This commit is contained in:
Kevin Ballard 2016-12-27 12:23:15 -08:00
parent ee8bd894ba
commit b0c2444466

View File

@ -1005,8 +1005,8 @@ public:
if (context().has_client() and if (context().has_client() and
context().options()["readonly"].get<bool>()) context().options()["readonly"].get<bool>())
context().print_status({ "Entering insert mode while readonly", context().print_status({ "Warning: This buffer is readonly",
get_face("Information") }); get_face("Error") });
} }
~Insert() ~Insert()