Merge remote-tracking branch 'kballard/readonly_warning_msg'

This commit is contained in:
Maxime Coste 2016-12-27 21:54:26 +00:00
commit 923665fab4

View File

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