aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-29 16:10:54 +0200
committerbfredl <bjorn.linse@gmail.com>2023-09-29 16:36:04 +0200
commitbc13bc154aa574e0bb58a50f2e0ca4570efa57c3 (patch)
tree86c6a0d607ec80d404c10bdbb377ad3fc8ce2ee4 /src/nvim/runtime.c
parent8e11c18d4962c5367a0549bdb2288323545852b6 (diff)
downloadrneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.gz
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.bz2
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.zip
refactor(message): smsg_attr -> smsg
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 4cb5925176..e6a04c899c 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -353,9 +353,9 @@ int do_in_path(const char *path, const char *prefix, char *name, int flags,
if (p_verbose > 10 && name != NULL) {
verbose_enter();
if (*prefix != NUL) {
- smsg(_("Searching for \"%s\" under \"%s\" in \"%s\""), name, prefix, path);
+ smsg(0, _("Searching for \"%s\" under \"%s\" in \"%s\""), name, prefix, path);
} else {
- smsg(_("Searching for \"%s\" in \"%s\""), name, path);
+ smsg(0, _("Searching for \"%s\" in \"%s\""), name, path);
}
verbose_leave();
}
@@ -396,7 +396,7 @@ int do_in_path(const char *path, const char *prefix, char *name, int flags,
if (p_verbose > 10) {
verbose_enter();
- smsg(_("Searching for \"%s\""), buf);
+ smsg(0, _("Searching for \"%s\""), buf);
verbose_leave();
}
@@ -418,7 +418,7 @@ int do_in_path(const char *path, const char *prefix, char *name, int flags,
semsg(_(e_dirnotf), basepath, name);
} else if (p_verbose > 1) {
verbose_enter();
- smsg(_("not found in '%s': \"%s\""), basepath, name);
+ smsg(0, _("not found in '%s': \"%s\""), basepath, name);
verbose_leave();
}
}
@@ -481,7 +481,7 @@ int do_in_cached_path(char *name, int flags, DoInRuntimepathCB callback, void *c
if (p_verbose > 10 && name != NULL) {
verbose_enter();
- smsg(_("Searching for \"%s\" in runtime path"), name);
+ smsg(0, _("Searching for \"%s\" in runtime path"), name);
verbose_leave();
}
@@ -520,7 +520,7 @@ int do_in_cached_path(char *name, int flags, DoInRuntimepathCB callback, void *c
if (p_verbose > 10) {
verbose_enter();
- smsg(_("Searching for \"%s\""), buf);
+ smsg(0, _("Searching for \"%s\""), buf);
verbose_leave();
}
@@ -540,7 +540,7 @@ int do_in_cached_path(char *name, int flags, DoInRuntimepathCB callback, void *c
semsg(_(e_dirnotf), "runtime path", name);
} else if (p_verbose > 1) {
verbose_enter();
- smsg(_("not found in runtime path: \"%s\""), name);
+ smsg(0, _("not found in runtime path: \"%s\""), name);
verbose_leave();
}
}
@@ -2047,7 +2047,7 @@ int do_source(char *fname, int check_other, int is_vimrc, int *ret_sid)
return retval;
}
if (os_isdir(fname_exp)) {
- smsg(_("Cannot source a directory: \"%s\""), fname);
+ smsg(0, _("Cannot source a directory: \"%s\""), fname);
goto theend;
}
@@ -2091,9 +2091,9 @@ int do_source(char *fname, int check_other, int is_vimrc, int *ret_sid)
if (p_verbose > 1) {
verbose_enter();
if (SOURCING_NAME == NULL) {
- smsg(_("could not source \"%s\""), fname);
+ smsg(0, _("could not source \"%s\""), fname);
} else {
- smsg(_("line %" PRId64 ": could not source \"%s\""),
+ smsg(0, _("line %" PRId64 ": could not source \"%s\""),
(int64_t)SOURCING_LNUM, fname);
}
verbose_leave();
@@ -2107,9 +2107,9 @@ int do_source(char *fname, int check_other, int is_vimrc, int *ret_sid)
if (p_verbose > 1) {
verbose_enter();
if (SOURCING_NAME == NULL) {
- smsg(_("sourcing \"%s\""), fname);
+ smsg(0, _("sourcing \"%s\""), fname);
} else {
- smsg(_("line %" PRId64 ": sourcing \"%s\""), (int64_t)SOURCING_LNUM, fname);
+ smsg(0, _("line %" PRId64 ": sourcing \"%s\""), (int64_t)SOURCING_LNUM, fname);
}
verbose_leave();
}
@@ -2242,9 +2242,9 @@ int do_source(char *fname, int check_other, int is_vimrc, int *ret_sid)
estack_pop();
if (p_verbose > 1) {
verbose_enter();
- smsg(_("finished sourcing %s"), fname);
+ smsg(0, _("finished sourcing %s"), fname);
if (SOURCING_NAME != NULL) {
- smsg(_("continuing in %s"), SOURCING_NAME);
+ smsg(0, _("continuing in %s"), SOURCING_NAME);
}
verbose_leave();
}