Mercurial > vim
annotate src/proto/usercmd.pro @ 29391:73fb9c6efc6d v9.0.0038
patch 9.0.0038: 'listchars' test fails
Commit: https://github.com/vim/vim/commit/5ed26faace574f6b36744f9e17075d7e806aa877
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 4 18:05:51 2022 +0100
patch 9.0.0038: 'listchars' test fails
Problem: 'listchars' test fails.
Solution: Use window-local value after setting the global value
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Jul 2022 19:15:03 +0200 |
parents | add09d468c0d |
children | 360f286b5869 |
rev | line source |
---|---|
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* usercmd.c */ |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
2 char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); |
28757
add09d468c0d
patch 8.2.4903: cannot get the current cmdline completion type and position
Bram Moolenaar <Bram@vim.org>
parents:
27778
diff
changeset
|
3 char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); |
27778
858002fef4b7
patch 8.2.4415: function argument name conflicts with C++ keyword
Bram Moolenaar <Bram@vim.org>
parents:
27744
diff
changeset
|
4 char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long argt, int context, expand_T *xp, int forceit); |
25757
589226a5f317
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command
Bram Moolenaar <Bram@vim.org>
parents:
25463
diff
changeset
|
5 char_u *expand_user_command_name(int idx); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 char_u *get_user_commands(expand_T *xp, int idx); |
25757
589226a5f317
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command
Bram Moolenaar <Bram@vim.org>
parents:
25463
diff
changeset
|
7 char_u *get_user_command_name(int idx, int cmdidx); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_user_cmd_addr_type(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 char_u *get_user_cmd_flags(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 char_u *get_user_cmd_nargs(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 char_u *get_user_cmd_complete(expand_T *xp, int idx); |
28757
add09d468c0d
patch 8.2.4903: cannot get the current cmdline completion type and position
Bram Moolenaar <Bram@vim.org>
parents:
27778
diff
changeset
|
12 char_u *cmdcomplete_type_to_str(int expand); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
13 int cmdcomplete_str_to_type(char_u *complete_str); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 char *uc_fun_cmd(void); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
15 int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); |
25463
05f9e8f2016c
patch 8.2.3268: cannot use a block with :autocmd like with :command
Bram Moolenaar <Bram@vim.org>
parents:
22715
diff
changeset
|
16 char_u *may_get_cmd_block(exarg_T *eap, char_u *p, char_u **tofree, int *flags); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 void ex_command(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 void ex_comclear(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void uc_clear(garray_T *gap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 void ex_delcommand(exarg_T *eap); |
22703
f2bfee4ac356
patch 8.2.1900: Vim9: command modifiers do not work
Bram Moolenaar <Bram@vim.org>
parents:
20043
diff
changeset
|
21 size_t add_win_cmd_modifers(char_u *buf, cmdmod_T *cmod, int *multi_mods); |
22715
8968ed4ba4ba
patch 8.2.1906: warning for signed/unsigned
Bram Moolenaar <Bram@vim.org>
parents:
22703
diff
changeset
|
22 size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 void do_ucmd(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 /* vim: set ft=c : */ |