Change the message when entering insert mode while readonly
This commit is contained in:
parent
ee8bd894ba
commit
b0c2444466
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user