-
Notifications
You must be signed in to change notification settings - Fork 1
/
varray.c
73 lines (67 loc) · 2.33 KB
/
varray.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* Copyright (C) 1988-2018 Sean MacLennan <[email protected]> */
#include "z.h"
/** @addtogroup zedit
* @{
*/
#define V(n) {(char *)n}
struct avar Vars[] = {
{ "c-extends", V_STRING, V(".c.h.cpp.cc.cxx.y.l"),
"This variable defines the extensions that turn on C mode."
},
{ "c-tabs", V_DECIMAL, V(4),
"This variable defines the number of spaces displayed per tab in "
"C mode buffers. See also tabs."
},
{ "comments", V_FLAG, V(0),
"If set then Zedit tries to bold (display in red) comments in C "
"and shell mode buffers."
},
{ "exact", V_FLAG, V(1),
"If set, all searches and replaces are case sensitive. This means "
"that the search string 'string' will only match 'string', not "
"'STRING', or 'String'."
},
{ "fill-ch-width", V_DECIMAL, V(72),
"This is the column at which the text mode commands wrap the "
"right margin."
},
{ "make-cmd", V_STRING, V("make "),
"The command to use for the make command."
},
{ "sh-extends", V_STRING, V(".sh.csh.el.py"),
"This variable defines the extensions that turn on shell mode. "
"Note that a '#!/bin/sh' type line at the start of the file can "
"also turn on shell mode."
},
{ "sh-tabs", V_DECIMAL, V(4),
"This variable defines the number of spaces displayed per indent in "
"shell mode buffers. If `space-tabs' is set, the indent will always be "
"spaces. Else, the indent will be a combination of physical tabs and "
"spaces."
},
{ "space-tabs", V_FLAG, V(0),
"The tab character is normally inserted into the buffer as a "
"single ASCII 9 character. If the space-tabs variable is set, "
"then a tab is inserted as spaces in the buffer. This flag "
"does not affect tabs already in the buffer or tabs inserted "
"in the PAW."
},
{ "t-extends", V_STRING, V(".txt"),
"This variable defines the extensions that turn on text mode."
},
{ "tabs", V_DECIMAL, V(8),
"A tab is a single character that is displayed as one or more "
"spaces on the screen. This variable defines the number of "
"space characters displayed per physical tab.\n\n"
"You generally don't want to change this. See `c-tabs' and "
"`sh-tabs'."
},
};
/* @} */
_Static_assert((sizeof(Vars) / sizeof(struct avar)) == NUMVARS,
"Vars != NUMVARS");
/*
* Local Variables:
* my-checkpatch-ignores: "SPDX_LICENSE_TAG,SPLIT_STRING"
* End:
*/