aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/vbscript.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-16 12:37:55 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-16 19:46:07 +0100
commit9997739b96a7fc142a18cb72cb7589bd4b4d61b0 (patch)
tree58ec9864c78d917ecc3d70066dbc4c1dd2bda8b5 /lua/lexers/vbscript.lua
parent55f79e75f34ccf740d3f1c92ab35c604b067b01c (diff)
downloadvis-9997739b96a7fc142a18cb72cb7589bd4b4d61b0.tar.gz
vis-9997739b96a7fc142a18cb72cb7589bd4b4d61b0.tar.xz
vis: change key input handling model
Previously if you had a mapping for both `a` and `ab` the latter would in effect be unreachable because the greedy search would always match and then execute the former. With the new behavior we keep reading keys until we have a non ambigious sequence. That is after pressing `a` nothing will happen, if the next key is a `b` we will execute the `ab` mapping otherwise we will perform `a` and whatever the action is for the next key. Close #386
Diffstat (limited to 'lua/lexers/vbscript.lua')
0 files changed, 0 insertions, 0 deletions