aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.js
blob: 284de6cc2030050bd565b91441e027904536ab8b (plain) (blame)
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
// describe types of a propety as:
//    mystr: 'string',
//    mynum: 'number',
//    mybool: 'boolean',
const types = {
  hintchars: 'string',
  smoothscroll: 'boolean',
  adjacenttab: 'boolean',
  complete: 'string',
};

// describe default values of a property
const defaults = {
  hintchars: 'abcdefghijklmnopqrstuvwxyz',
  smoothscroll: false,
  adjacenttab: true,
  complete: 'sbn',
};

const docs = {
  hintchars: 'hint characters on follow mode',
  smoothscroll: 'smooth scroll',
  adjacenttab: 'open adjacent tabs',
  complete: 'which are completed at the open page',
};

export { types, defaults, docs };