diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-09 14:42:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 14:42:20 -0700 |
commit | 0809533b88899b11516461d0c9997b917a153135 (patch) | |
tree | bb72a1afa35e69dd93011c3826ab6c39e52ff535 /src/nvim/api/buffer.c | |
parent | 853683e72a780afef3ecebd8d46e32983abe1798 (diff) | |
parent | e5d5fc0857935b4f67058a6a2dcfbc573331e3f6 (diff) | |
download | rneovim-0809533b88899b11516461d0c9997b917a153135.tar.gz rneovim-0809533b88899b11516461d0c9997b917a153135.tar.bz2 rneovim-0809533b88899b11516461d0c9997b917a153135.zip |
Merge #10546 'doc'
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 690497159a..3e1209d1b1 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -110,10 +110,10 @@ String buffer_get_line(Buffer buffer, Integer index, Error *err) /// `nvim_buf_lines_event`. Otherwise, the first notification will be /// a `nvim_buf_changedtick_event`. Not used for lua callbacks. /// @param opts Optional parameters. -/// `on_lines`: lua callback received on change. -/// `on_changedtick`: lua callback received on changedtick +/// - `on_lines`: lua callback received on change. +/// - `on_changedtick`: lua callback received on changedtick /// increment without text change. -/// `utf_sizes`: include UTF-32 and UTF-16 size of +/// - `utf_sizes`: include UTF-32 and UTF-16 size of /// the replaced region. /// See |api-buffer-updates-lua| for more information /// @param[out] err Error details, if any @@ -183,6 +183,8 @@ error: /// Deactivates buffer-update events on the channel. /// +/// For Lua callbacks see |api-lua-detach|. +/// /// @param channel_id /// @param buffer Buffer handle, or 0 for current buffer /// @param[out] err Error details, if any |