aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/settings/properties.js')
-rw-r--r--src/shared/settings/properties.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shared/settings/properties.js b/src/shared/settings/properties.js
new file mode 100644
index 0000000..4bda8d6
--- /dev/null
+++ b/src/shared/settings/properties.js
@@ -0,0 +1,18 @@
+// describe types of a propety as:
+// mystr: 'string',
+// mynum: 'number',
+// mybool: 'boolean',
+const types = {
+ hintchars: 'string',
+ smoothscroll: 'boolean',
+ adjacenttab: 'boolean',
+};
+
+// describe default values of a property
+const defaults = {
+ hintchars: 'abcdefghijklmnopqrstuvwxyz',
+ smoothscroll: false,
+ adjacenttab: true,
+};
+
+export { types, defaults };