From bab8066af8eafec67448fb473f8c021d85ab06bd Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 29 Aug 2018 22:07:32 +0900 Subject: Add complete property --- src/shared/settings/default.js | 3 ++- src/shared/settings/properties.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/shared/settings') 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 }; -- cgit v1.2.3