aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-23 16:54:55 +0200
committerGitHub <noreply@github.com>2017-07-23 16:54:55 +0200
commitca32eb31b87ea63fd36cb6ef181edaf3bf755a81 (patch)
treee271c178a404818c028c09a74c1bb95fabbbe131 /src/nvim/generators
parent253f6f3bbfd16b7aeb2f72714c1d5d1c88a3478a (diff)
parent4b390fafc910eb3e0acf17d5eb8a702b5fdd12ce (diff)
downloadrneovim-ca32eb31b87ea63fd36cb6ef181edaf3bf755a81.tar.gz
rneovim-ca32eb31b87ea63fd36cb6ef181edaf3bf755a81.tar.bz2
rneovim-ca32eb31b87ea63fd36cb6ef181edaf3bf755a81.zip
Merge #7048 from justinmk/log-ui
Diffstat (limited to 'src/nvim/generators')
-rw-r--r--src/nvim/generators/gen_api_ui_events.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/generators/gen_api_ui_events.lua b/src/nvim/generators/gen_api_ui_events.lua
index acdb25ca67..d2b90db707 100644
--- a/src/nvim/generators/gen_api_ui_events.lua
+++ b/src/nvim/generators/gen_api_ui_events.lua
@@ -119,7 +119,7 @@ for i = 1, #events do
write_signature(bridge_output, ev, 'UI *ui')
bridge_output:write('\n{\n')
bridge_output:write(send)
- bridge_output:write(' UI_CALL(ui, '..ev.name..', '..argc..', ui'..argv..');\n}\n')
+ bridge_output:write(' UI_BRIDGE_CALL(ui, '..ev.name..', '..argc..', ui'..argv..');\n}\n')
end
end
@@ -128,6 +128,7 @@ for i = 1, #events do
call_output:write('\n{\n')
if ev.remote_only then
write_arglist(call_output, ev, false)
+ call_output:write(' UI_LOG('..ev.name..', 0);\n')
call_output:write(' ui_event("'..ev.name..'", args);\n')
else
call_output:write(' UI_CALL')