diff options
| author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-08-29 22:07:32 +0900 | 
|---|---|---|
| committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-09-17 12:14:52 +0900 | 
| commit | bab8066af8eafec67448fb473f8c021d85ab06bd (patch) | |
| tree | 077f026e2394580983a4339f158c9a689c142ca7 /src/shared | |
| parent | 1b7784638230dc4960c130181a3e008c96ebfebe (diff) | |
Add complete property
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/settings/default.js | 3 | ||||
| -rw-r--r-- | src/shared/settings/properties.js | 3 | 
2 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/settings/default.js b/src/shared/settings/default.js index 55dbc3a..6feb9ec 100644 --- a/src/shared/settings/default.js +++ b/src/shared/settings/default.js @@ -72,7 +72,8 @@ export default {    "properties": {      "hintchars": "abcdefghijklmnopqrstuvwxyz",      "smoothscroll": false, -    "adjacenttab": true +    "adjacenttab": true, +    "complete": "sbh"    },    "blacklist": [    ] diff --git a/src/shared/settings/properties.js b/src/shared/settings/properties.js index e8d06da..284de6c 100644 --- a/src/shared/settings/properties.js +++ b/src/shared/settings/properties.js @@ -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 };  | 
