mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
fix(messages): 'exrc' / secure messages
This commit is contained in:
@@ -78,11 +78,11 @@ static bool nlua_trust(const char *action, const char *path)
|
||||
if (msg != NULL) {
|
||||
if (success) {
|
||||
if (strcmp(action, "allow") == 0) {
|
||||
smsg(0, "Allowed \"%s\" in trust database.", msg);
|
||||
smsg(0, "Allowed in trust database: \"%s\"", msg);
|
||||
} else if (strcmp(action, "deny") == 0) {
|
||||
smsg(0, "Denied \"%s\" in trust database.", msg);
|
||||
smsg(0, "Denied in trust database: \"%s\"", msg);
|
||||
} else if (strcmp(action, "remove") == 0) {
|
||||
smsg(0, "Removed \"%s\" from trust database.", msg);
|
||||
smsg(0, "Removed from trust database: \"%s\"", msg);
|
||||
}
|
||||
} else {
|
||||
semsg(e_trustfile, msg);
|
||||
|
Reference in New Issue
Block a user