aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-22 20:40:03 +0200
committerAdrian Kummerlaender2015-08-22 20:40:03 +0200
commit6f451726f864132ac9635199bd7f86ba1a2c4260 (patch)
tree4846414f6a066949e9e6bc76a616e91ffd972e11 /src/command
parent264636ce4c2677ff32bca7dc432b0a086bf5cece (diff)
downloadMetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar.gz
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar.bz2
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar.lz
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar.xz
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.tar.zst
MetaTerm-6f451726f864132ac9635199bd7f86ba1a2c4260.zip
Hide category property in `set` key suggestions
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.js b/src/command/commands.js
index b2216b7..d2a53af 100644
--- a/src/command/commands.js
+++ b/src/command/commands.js
@@ -68,6 +68,7 @@ function set(output, args) {
Object.keys(settings[args[0]]).filter(
function(element) {
return element !== 'objectName'
+ && element !== 'category'
&& typeof settings[args[0]][element] !== 'function';
}
).forEach(output.log);