diff options
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 304 |
1 files changed, 152 insertions, 152 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index b0d44651fc..503af2d681 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -207,7 +207,7 @@ void do_exmode(void) RedrawingDisabled++; // don't redisplay the window no_wait_return++; // don't wait for return - MSG(_("Entering Ex mode. Type \"visual\" to go to Normal mode.")); + msg(_("Entering Ex mode. Type \"visual\" to go to Normal mode.")); while (exmode_active) { // Check for a ":normal" command and no more characters left. if (ex_normal_busy > 0 && typebuf.tb_len == 0) { @@ -5340,7 +5340,7 @@ static void uc_list(char_u *name, size_t name_len) // Put out the title first time if (!found) { - MSG_PUTS_TITLE(_("\n Name Args Address " + msg_puts_title(_("\n Name Args Address " "Complete Definition")); } found = true; @@ -5475,7 +5475,7 @@ static void uc_list(char_u *name, size_t name_len) } if (!found) { - MSG(_("No user-defined commands found")); + msg(_("No user-defined commands found")); } } @@ -6432,10 +6432,10 @@ static void ex_colorscheme(exarg_T *eap) xfree(expr); if (p != NULL) { - MSG(p); + msg((char *)p); xfree(p); } else { - MSG("default"); + msg("default"); } } else if (load_colors(eap->arg) == FAIL) { semsg(_("E185: Cannot find color scheme '%s'"), eap->arg); @@ -6445,7 +6445,7 @@ static void ex_colorscheme(exarg_T *eap) static void ex_highlight(exarg_T *eap) { if (*eap->arg == NUL && eap->cmd[2] == '!') { - MSG(_("Greetings, Vim user!")); + msg(_("Greetings, Vim user!")); } do_highlight((const char *)eap->arg, eap->forceit, false); } @@ -6707,7 +6707,7 @@ static void ex_tabonly(exarg_T *eap) if (cmdwin_type != 0) { cmdwin_result = K_IGNORE; } else if (first_tabpage->tp_next == NULL) { - MSG(_("Already only one tab page")); + msg(_("Already only one tab page")); } else { int tab_number = get_tabpage_arg(eap); if (eap->errmsg == NULL) { @@ -7557,9 +7557,9 @@ static void ex_nogui(exarg_T *eap) static void ex_swapname(exarg_T *eap) { if (curbuf->b_ml.ml_mfp == NULL || curbuf->b_ml.ml_mfp->mf_fname == NULL) { - MSG(_("No swap file")); + msg(_("No swap file")); } else { - msg(curbuf->b_ml.ml_mfp->mf_fname); + msg((char *)curbuf->b_ml.ml_mfp->mf_fname); } } @@ -7877,7 +7877,7 @@ static void ex_pwd(exarg_T *eap) } smsg("[%s] %s", context, (char *)NameBuff); } else { - msg(NameBuff); + msg((char *)NameBuff); } } else { emsg(_("E187: Unknown")); @@ -9864,287 +9864,287 @@ void verify_command(char_u *cmd) if (strcmp("smile", (char *)cmd)) { return; // acceptable non-existing command } - MSG(" #xxn` #xnxx` ,+x@##@Mz;` .xxx" + msg(" #xxn` #xnxx` ,+x@##@Mz;` .xxx" "xxxxxxnz+, znnnnnnnnnnnnnnnn."); - MSG(" n###z x####` :x##########W+` ,###" + msg(" n###z x####` :x##########W+` ,###" "##########M; W################."); - MSG(" n####; x####` `z##############W: ,###" + msg(" n####; x####` `z##############W: ,###" "############# W################."); - MSG(" n####W. x####` ,W#################+ ,###" + msg(" n####W. x####` ,W#################+ ,###" "############## W################."); - MSG(" n#####n x####` @################### ,###" + msg(" n#####n x####` @################### ,###" "##############i W################."); - MSG(" n######i x####` .#########@W@########* ,###" + msg(" n######i x####` .#########@W@########* ,###" "##############W`W################."); - MSG(" n######@. x####` x######W*. `;n#######: ,###" + msg(" n######@. x####` x######W*. `;n#######: ,###" "#x,,,,:*M######iW###@:,,,,,,,,,,,`"); - MSG(" n#######n x####` *######+` :M#####M ,###" + msg(" n#######n x####` *######+` :M#####M ,###" "#n `x#####xW###@`"); - MSG(" n########* x####``@####@; `x#####i ,###" + msg(" n########* x####``@####@; `x#####i ,###" "#n ,#####@W###@`"); - MSG(" n########@ x####`*#####i `M####M ,###" + msg(" n########@ x####`*#####i `M####M ,###" "#n x#########@`"); - MSG(" n######### x####`M####z :#####:,###" + msg(" n######### x####`M####z :#####:,###" "#n z#########@`"); - MSG(" n#########* x####,#####. n####+,###" + msg(" n#########* x####,#####. n####+,###" "#n n#########@`"); - MSG(" n####@####@, x####i####x ;####x,###" + msg(" n####@####@, x####i####x ;####x,###" "#n `W#####@####+++++++++++i"); - MSG(" n####*#####M` x#########* `####@,###" + msg(" n####*#####M` x#########* `####@,###" "#n i#####MW###############W"); - MSG(" n####.######+ x####z####; W####,###" + msg(" n####.######+ x####z####; W####,###" "#n i@######W###############W"); - MSG(" n####.`W#####: x####n####: M####:###" + msg(" n####.`W#####: x####n####: M####:###" "#@nnnnnW#######,W###############W"); - MSG(" n####. :#####M`x####z####; W####,###" + msg(" n####. :#####M`x####z####; W####,###" "##############z W###############W"); - MSG(" n####. #######x#########* `####W,###" + msg(" n####. #######x#########* `####W,###" "#############W` W###############W"); - MSG(" n####. `M#####W####i####x ;####x,###" + msg(" n####. `M#####W####i####x ;####x,###" "############W, W####+**********i"); - MSG(" n####. ,##########,#####. n####+,###" + msg(" n####. ,##########,#####. n####+,###" "###########n. W###@`"); - MSG(" n####. ##########`M####z :#####:,###" + msg(" n####. ##########`M####z :#####:,###" "########Wz: W###@`"); - MSG(" n####. x#########`*#####i `M####M ,###" + msg(" n####. x#########`*#####i `M####M ,###" "#x.....` W###@`"); - MSG(" n####. ,@########``@####@; `x#####i ,###" + msg(" n####. ,@########``@####@; `x#####i ,###" "#n W###@`"); - MSG(" n####. *########` *#####@+` ,M#####M ,###" + msg(" n####. *########` *#####@+` ,M#####M ,###" "#n W###@`"); - MSG(" n####. x#######` x######W*. `;n######@: ,###" + msg(" n####. x#######` x######W*. `;n######@: ,###" "#n W###@,,,,,,,,,,,,`"); - MSG(" n####. .@######` .#########@W@########* ,###" + msg(" n####. .@######` .#########@W@########* ,###" "#n W################,"); - MSG(" n####. i######` @################### ,###" + msg(" n####. i######` @################### ,###" "#n W################,"); - MSG(" n####. n#####` ,W#################+ ,###" + msg(" n####. n#####` ,W#################+ ,###" "#n W################,"); - MSG(" n####. .@####` .n##############W; ,###" + msg(" n####. .@####` .n##############W; ,###" "#n W################,"); - MSG(" n####. i####` :x##########W+` ,###" + msg(" n####. i####` :x##########W+` ,###" "#n W################,"); - MSG(" +nnnn` +nnn` ,+x@##@Mz;` .nnn" + msg(" +nnnn` +nnn` ,+x@##@Mz;` .nnn" "n+ zxxxxxxxxxxxxxxxx."); - MSG(" "); - MSG(" " + msg(" "); + msg(" " " ,+M@#Mi"); - MSG(" " + msg(" " " .z########"); - MSG(" " + msg(" " " i@#########i"); - MSG(" " + msg(" " " `############W`"); - MSG(" " + msg(" " " `n#############i"); - MSG(" " + msg(" " " `n##############n"); - MSG(" `` " + msg(" `` " " z###############@`"); - MSG(" `W@z, " + msg(" `W@z, " " ##################,"); - MSG(" *#####` " + msg(" *#####` " " i############@x@###i"); - MSG(" ######M. " + msg(" ######M. " " :#############n`,W##+"); - MSG(" +######@: " + msg(" +######@: " " .W#########M@##+ *##z"); - MSG(" :#######@: " + msg(" :#######@: " " `x########@#x###* ,##n"); - MSG(" `@#######@; " + msg(" `@#######@; " " z#########M*@nW#i .##x"); - MSG(" z########@i " + msg(" z########@i " " *###########WM#@#, `##x"); - MSG(" i##########+ " + msg(" i##########+ " " ;###########*n###@ `##x"); - MSG(" `@#MM#######x, " + msg(" `@#MM#######x, " " ,@#########zM,`z##M `@#x"); - MSG(" n##M#W#######n. " + msg(" n##M#W#######n. " " `.:i*+#zzzz##+i:.` ,W#########Wii,`n@#@` n@##n"); - MSG(" ;###@#x#######n `,i" + msg(" ;###@#x#######n `,i" "#nW@#####@@WWW@@####@Mzi. ,W##########@z.. ;zM#+i####z"); - MSG(" x####nz######## .;#x@##" + msg(" x####nz######## .;#x@##" "@Wn#*;,.` ``,:*#x@##M+, ;@########xz@WM+#` `n@#######"); - MSG(" ,@####M########xi#@##@Mzi," + msg(" ,@####M########xi#@##@Mzi," "` .+x###Mi:n##########Mz```.:i *@######*"); - MSG(" *#####W#########ix+:` " + msg(" *#####W#########ix+:` " " :n#############z: `*.`M######i"); - MSG(" i#W##nW@+@##@#M@; " + msg(" i#W##nW@+@##@#M@; " " ;W@@##########W, i`x@#####,"); - MSG(" `@@n@Wn#@iMW*#*: " + msg(" `@@n@Wn#@iMW*#*: " " `iz#z@######x. M######`"); - MSG(" z##zM###x`*, .` " + msg(" z##zM###x`*, .` " " `iW#####W;:` +#####M"); - MSG(" ,###nn##n` " + msg(" ,###nn##n` " " ,#####x;` ,;@######"); - MSG(" x###xz#. " + msg(" x###xz#. " " in###+ `:######@."); - MSG(" ;####n+ " + msg(" ;####n+ " " `Mnx##xi` , zM#######"); - MSG(" `W####+ " + msg(" `W####+ " "i. `.+x###@#. :n,z######:"); - MSG(" z####@` ;" + msg(" z####@` ;" "#: .ii@###@;.*M*z####@`"); - MSG(" i####M ` `i@" + msg(" i####M ` `i@" "#, :: +#n##@+@##W####n"); - MSG(" :####x ,i. ##xzM###" + msg(" :####x ,i. ##xzM###" "@` i. .@@, .z####x#######*"); - MSG(" ,###W; i##Wz########" + msg(" ,###W; i##Wz########" "# :## z##n ,@########x###:"); - MSG(" n##n `W###########M" + msg(" n##n `W###########M" "`;n, i#x ,###@i *W########W#@`"); - MSG(" .@##+ `x###########@." + msg(" .@##+ `x###########@." " z#+ .M#W``x#####n` `;#######@z#x"); - MSG(" n###z :W############@ " + msg(" n###z :W############@ " " z#* @##xM#######@n; `########nW+"); - MSG(" ;####nW##############W " + msg(" ;####nW##############W " ":@#* `@#############* :########z@i`"); - MSG(" M##################### " + msg(" M##################### " "M##: @#############@: *W########M#"); - MSG(" ;#####################i." + msg(" ;#####################i." "##x` W#############W, :n########zx"); - MSG(" x####################@.`" + msg(" x####################@.`" "x; @#############z. .@########W#"); - MSG(" ,######################` " + msg(" ,######################` " " W###############x*,` W######zM#i"); - MSG(" #######################: " + msg(" #######################: " " z##################@x+*#zzi `@#########."); - MSG(" W########W#z#M#########; " + msg(" W########W#z#M#########; " " *##########################z :@#######@`"); - MSG(" `@#######x`;#z ,x#######; " + msg(" `@#######x`;#z ,x#######; " " z###########M###xnM@########* :M######@"); - MSG(" i########, x#@` z######; " + msg(" i########, x#@` z######; " " *##########i *#@` `+########+` n######."); - MSG(" n#######@` M##, `W#####. " + msg(" n#######@` M##, `W#####. " " *#########z ###; z########M: :W####n"); - MSG(" M#######M n##. x####x " + msg(" M#######M n##. x####x " " `x########: z##+ M#########@; .n###+"); - MSG(" W#######@` :#W `@####: " + msg(" W#######@` :#W `@####: " " `@######W i### ;###########@. n##n"); - MSG(" W########z` ,, .x####z " + msg(" W########z` ,, .x####z " " @######@` `W#; `W############* *###;"); - MSG(" `@#########Mi,:*n@####W` " + msg(" `@#########Mi,:*n@####W` " " W#######* .. `n#############i i###x"); - MSG(" .#####################z " + msg(" .#####################z " " `@#######@*` .x############n:` ;####."); - MSG(" :####################x`,,` " + msg(" :####################x`,,` " " `W#########@x#+#@#############i ,####:"); - MSG(" ;###################x#@###x" + msg(" ;###################x#@###x" "i` *############################: `####i"); - MSG(" i##################+#######" + msg(" i##################+#######" "#M, x##########################@` W###i"); - MSG(" *################@; @######" + msg(" *################@; @######" "##@, .W#########################@ x###:"); - MSG(" .+M#############z. M######" + msg(" .+M#############z. M######" "###x ,W########################@` ####."); - MSG(" *M*;z@########x: :W#####" + msg(" *M*;z@########x: :W#####" "##i .M########################i i###:"); - MSG(" *##@z;#@####x: :z###" + msg(" *##@z;#@####x: :z###" "@i `########################x .###;"); - MSG(" *#####n;#@## ;##" + msg(" *#####n;#@## ;##" "* ,x#####################@` W##*"); - MSG(" *#######n;* :M##" + msg(" *#######n;* :M##" "W*, *W####################` n##z"); - MSG(" i########@. ,*n####" + msg(" i########@. ,*n####" "###M*` `###################M *##M"); - MSG(" i########n `z#####@@" + msg(" i########n `z#####@@" "#####Wi ,M################; ,##@`"); - MSG(" ;WMWW@###* .x##@ni.``" + msg(" ;WMWW@###* .x##@ni.``" ".:+zW##z` `n##############z @##,"); - MSG(" .*++*i;;;. .M#@+` " + msg(" .*++*i;;;. .M#@+` " " .##n `x############x` n##i"); - MSG(" :########* x#W, " + msg(" :########* x#W, " " *#+ *###########M` +##+"); - MSG(" ,######### :#@: " + msg(" ,######### :#@: " " ##: #nzzzzzzzzzz. :##x"); - MSG(" .#####Wz+` ##+ " + msg(" .#####Wz+` ##+ " " `MM` .znnnnnnnnn. `@#@`"); - MSG(" `@@ni;*nMz` @W` " + msg(" `@@ni;*nMz` @W` " " :#+ .x#######n x##,"); - MSG(" i;z@#####, .#* " + msg(" i;z@#####, .#* " " z#: ;;;*zW##; ###i"); - MSG(" z########: :#; " + msg(" z########: :#; " " `Wx +###Wni;n. ;##z"); - MSG(" n########W: .#* " + msg(" n########W: .#* " " ,#, ;#######@+ `@#M"); - MSG(" .###########n;.MM " + msg(" .###########n;.MM " " n* ;iM#######* x#@`"); - MSG(" :#############@;; " + msg(" :#############@;; " " .n` ,#W*iW#####W` +##,"); - MSG(" ,##############. " + msg(" ,##############. " " ix. `x###M;####### ,##i"); - MSG(" .#############@` " + msg(" .#############@` " " x@n**#W######z;M###@. W##"); - MSG(" .##############W: " + msg(" .##############W: " " .x############@*;zW#; z#x"); - MSG(" ,###############@; " + msg(" ,###############@; " " `##############@n*;. i#@"); - MSG(" ,#################i " + msg(" ,#################i " " :n##############W` .##,"); - MSG(" ,###################` " + msg(" ,###################` " " .+W##########W, `##i"); - MSG(" :###################@zi,` " + msg(" :###################@zi,` " " ;zM@@@WMn*` @#z"); - MSG(" :#######################@x+" + msg(" :#######################@x+" "*i;;:i#M, `` M#W"); - MSG(" ;##########################" + msg(" ;##########################" "######@x. n##,"); - MSG(" i#####################@W@@@" + msg(" i#####################@W@@@" "@Wxz*:` *##+"); - MSG(" *######################+```" + msg(" *######################+```" " :##M"); - MSG(" ########################M; " + msg(" ########################M; " " `@##,"); - MSG(" z#########################x" + msg(" z#########################x" ", z###"); - MSG(" n##########################" + msg(" n##########################" "#n: ;##W`"); - MSG(" x##########################" + msg(" x##########################" "###Mz#++##* `W##i"); - MSG(" M##########################" + msg(" M##########################" "##########@` ###x"); - MSG(" W##########################" + msg(" W##########################" "###########` .###,"); - MSG(" @##########################" + msg(" @##########################" "##########M n##z"); - MSG(" @##################z*i@WMMM" + msg(" @##################z*i@WMMM" "x#x@#####,. :##@."); - MSG(" `#####################@xi` " + msg(" `#####################@xi` " " `::,* x##+"); - MSG(" .#####################@#M. " + msg(" .#####################@#M. " " ;##@`"); - MSG(" ,#####################:. " + msg(" ,#####################:. " " M##i"); - MSG(" ;###################ni` " + msg(" ;###################ni` " " i##M"); - MSG(" *#################W#` " + msg(" *#################W#` " " `W##,"); - MSG(" z#################@Wx+. " + msg(" z#################@Wx+. " " +###"); - MSG(" x######################z. " + msg(" x######################z. " " .@#@`"); - MSG(" `@#######################@; " + msg(" `@#######################@; " " z##;"); - MSG(" :##########################: " + msg(" :##########################: " " :##z"); - MSG(" +#########################W# " + msg(" +#########################W# " " M#W"); - MSG(" W################@n+*i;:,` " + msg(" W################@n+*i;:,` " " +##,"); - MSG(" :##################WMxz+, " + msg(" :##################WMxz+, " " ,##i"); - MSG(" n#######################W.., " + msg(" n#######################W.., " " W##"); - MSG(" +#########################WW@+. .:. " + msg(" +#########################WW@+. .:. " " z#x"); - MSG(" `@#############################@@###: " + msg(" `@#############################@@###: " " *#W"); - MSG(" #################################Wz: " + msg(" #################################Wz: " " :#@"); - MSG(",@###############################i " + msg(",@###############################i " " .##"); - MSG("n@@@@@@@#########################+ " + msg("n@@@@@@@#########################+ " " `##"); - MSG("` `.:.`.,:iii;;;;;;;;iii;;;:` `.`` " + msg("` `.:.`.,:iii;;;;;;;;iii;;;:` `.`` " " `nW"); } |