Mercurial > vim
annotate src/proto/cmdhist.pro @ 19746:1da2fb80b512 v8.2.0429
patch 8.2.0429: no warning when test checks for option that never exists
Commit: https://github.com/vim/vim/commit/c5a8fdc42dbd304598b2d73db754c7b97665b182
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 22 20:13:39 2020 +0100
patch 8.2.0429: no warning when test checks for option that never exists
Problem: No warning when test checks for option that never exists.
Solution: In tests check that the option can exist.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Mar 2020 20:15:04 +0100 |
parents | 05b240971884 |
children | ffeda71f42d7 |
rev | line source |
---|---|
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* cmdhist.c */ |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 int get_hislen(void); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 histentry_T *get_histentry(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void set_histentry(int hist_type, histentry_T *entry); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 int *get_hisidx(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 int *get_hisnum(int hist_type); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int hist_char2type(int c); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_history_arg(expand_T *xp, int idx); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void init_history(void); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void clear_hist_entry(histentry_T *hisptr); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 int in_history(int type, char_u *str, int move_to_front, int sep, int writing); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void add_to_history(int histype, char_u *new_entry, int in_map, int sep); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void f_histadd(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void f_histdel(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void f_histget(typval_T *argvars, typval_T *rettv); |
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void f_histnr(typval_T *argvars, typval_T *rettv); |
18840
05b240971884
patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
17 void remove_key_from_history(void); |
05b240971884
patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
18 void ex_history(exarg_T *eap); |
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 /* vim: set ft=c : */ |