diff options
author | 2020-08-03 20:28:19 -0400 | |
---|---|---|
committer | 2020-08-03 20:28:19 -0400 | |
commit | 1b69f7f32d19d9c58096cec06257e86a08112cc6 (patch) | |
tree | ebc3da551717521e836a0eb884422b767f34c40d /modules | |
parent | b1605586b4635d60d5ccf4283a7268db5d1b99fe (diff) |
Fixed regression in showing images in Lua command entry completions.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/editing.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 1dae3999..4af9d5cc 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -65,6 +65,7 @@ M.XPM_IMAGES = { STRUCT = 7, TYPEDEF = 8 } events.connect(events.VIEW_NEW, function() + local view = buffer ~= ui.command_entry and view or ui.command_entry for name, i in pairs(M.XPM_IMAGES) do if type(name) == 'string' then view:register_image(i, M.XPM_IMAGES[i]) end end |