aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-10-08 10:46:07 +0900
committerGitHub <noreply@github.com>2018-10-08 10:46:07 +0900
commitcb3637ec74f5944b2558e373e5b6a8686725dba4 (patch)
tree188cd44723f0368de1c4ccb70960340dea10c520 /src/shared/settings
parentf263e777ef3bf3aeff52ede881647f2e1aa308ea (diff)
parentbab8066af8eafec67448fb473f8c021d85ab06bd (diff)
Merge pull request #461 from ueokande/control-over-suggestions
Add complete property
Diffstat (limited to 'src/shared/settings')
-rw-r--r--src/shared/settings/default.js3
-rw-r--r--src/shared/settings/properties.js3
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 };