aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-05-28 15:45:34 -0400
committerbfredl <bjorn.linse@gmail.com>2022-02-28 19:53:50 +0100
commit0f613482b389ad259dd53d893907b024a115352e (patch)
tree0f0e998db32c33139809bce38b18e6ae54639165 /src/nvim/api/private/helpers.c
parent6732cd9e57bf39d1a0f5c4fa08fa54c1561f2d2f (diff)
downloadrneovim-0f613482b389ad259dd53d893907b024a115352e.tar.gz
rneovim-0f613482b389ad259dd53d893907b024a115352e.tar.bz2
rneovim-0f613482b389ad259dd53d893907b024a115352e.zip
feat(lua): add missing changes to autocmds lost in the rebase
Note: some of these changes are breaking, like change of API signatures
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 3d4a04f096..c2106855d3 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -406,6 +406,7 @@ void set_option_to(uint64_t channel_id, void *to, int type, String name, Object
});
}
+
buf_T *find_buffer_by_handle(Buffer buffer, Error *err)
{
if (buffer == 0) {
@@ -1614,8 +1615,8 @@ int find_sid(uint64_t channel_id)
{
switch (channel_id) {
case VIML_INTERNAL_CALL:
- // TODO(autocmd): Figure out what this should be
- // return SID_API_CLIENT;
+ // TODO(autocmd): Figure out what this should be
+ // return SID_API_CLIENT;
case LUA_INTERNAL_CALL:
return SID_LUA;
default: