aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/utility_functions_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-08 20:37:35 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-01-08 23:31:48 +0100
commit94525320365323f94cba93dce6926c3b1b062078 (patch)
treee490e671232bf774ba9763a184fbd8a839fec3e9 /test/functional/lua/utility_functions_spec.lua
parentc8e78abaf9c35c07cab8825a8f59e81a06e9ad50 (diff)
downloadrneovim-94525320365323f94cba93dce6926c3b1b062078.tar.gz
rneovim-94525320365323f94cba93dce6926c3b1b062078.tar.bz2
rneovim-94525320365323f94cba93dce6926c3b1b062078.zip
API: don't directly call update_screen() in API functions
There is no need to call update_screen() directly in an API function, mode input processing invokes update_screen() as needed. And if the API call is done in a context where redraw is disabled, then redraw is disabled for a reason. A lot of API functions are of equal semantical strength (nvim_call_function and nvim_execute_lua can also do whatever, nvim_command is not special), this inconsistency has no purpose.
Diffstat (limited to 'test/functional/lua/utility_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions