Add complete property
This commit is contained in:
parent
1b77846382
commit
bab8066af8
3 changed files with 27 additions and 12 deletions
|
@ -72,7 +72,8 @@ export default {
|
|||
"properties": {
|
||||
"hintchars": "abcdefghijklmnopqrstuvwxyz",
|
||||
"smoothscroll": false,
|
||||
"adjacenttab": true
|
||||
"adjacenttab": true,
|
||||
"complete": "sbh"
|
||||
},
|
||||
"blacklist": [
|
||||
]
|
||||
|
|
|
@ -6,6 +6,7 @@ const types = {
|
|||
hintchars: 'string',
|
||||
smoothscroll: 'boolean',
|
||||
adjacenttab: 'boolean',
|
||||
complete: 'string',
|
||||
};
|
||||
|
||||
// describe default values of a property
|
||||
|
@ -13,12 +14,14 @@ 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 };
|
||||
|
|
Reference in a new issue