aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-15 16:32:57 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-15 16:32:57 +0200
commitf50465312dbb7e8fcb2409aa691d1aea7a43c466 (patch)
tree558b3ddd07eb9532318a105cfb278996d9cdf8b0 /vis-cmds.c
parentbd1d849b2033b04a372542c59d458d4f8279c937 (diff)
downloadvis-f50465312dbb7e8fcb2409aa691d1aea7a43c466.tar.gz
vis-f50465312dbb7e8fcb2409aa691d1aea7a43c466.tar.xz
vis: do not run registered event handlers for internal files
This fixes interactive :-commands when the user has configured to set custom options vis:command(...) via the Lua win_open event handler. The problem was that the creation of the window for the command prompt would itself trigger an execution of a :-command. Upon successful completion the editor would switch to normal mode. Therefore the interactively entered command would not be applied to the correct range.
Diffstat (limited to 'vis-cmds.c')
0 files changed, 0 insertions, 0 deletions