aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-02-08 11:45:47 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-02-14 10:56:47 +0100
commit2ce03d412c4e93b0b89eb43d796c991806415b8a (patch)
tree2576b8a8fb9f8950f6ccccf97065fad61b79470f /evil-commands.el
parent56b43b6f7e014e905f85df1c542c67f46ea99566 (diff)
Optimize Ex command completion
With lexical binding it is possible to close over the list of Ex commands, instead of recomputing it on every keystroke while completing. Also, there is no need to call evil-ex-command-force-p on the command string, which uses try-completion, since the command functions are known as the evil-ex-commands alist values.
Diffstat (limited to 'evil-commands.el')
0 files changed, 0 insertions, 0 deletions