diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 16:32:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-15 16:32:57 +0200 |
| commit | f50465312dbb7e8fcb2409aa691d1aea7a43c466 (patch) | |
| tree | 558b3ddd07eb9532318a105cfb278996d9cdf8b0 /vis-lua.c | |
| parent | bd1d849b2033b04a372542c59d458d4f8279c937 (diff) | |
| download | vis-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-lua.c')
0 files changed, 0 insertions, 0 deletions
