diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-11 10:38:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 10:38:21 +0200 |
commit | 2c60f7c99188e90739d83f3c131134b71cd37436 (patch) | |
tree | 92826f89c32d7d99837613af2f634c879f48e8a8 /src/nvim/api/buffer.c | |
parent | c479b903598d042bf8f396cdc3ef3dc65734cbd9 (diff) | |
parent | d475955ed3baf7c88a0b5a5418f13fd865bc01e8 (diff) | |
download | rneovim-2c60f7c99188e90739d83f3c131134b71cd37436.tar.gz rneovim-2c60f7c99188e90739d83f3c131134b71cd37436.tar.bz2 rneovim-2c60f7c99188e90739d83f3c131134b71cd37436.zip |
Merge pull request #15335 from muniter/set_extmark_error_cleanup
refactor(api): remove redundant api_set_error
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 77cff0cb4f..878ffdf06f 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -1486,7 +1486,6 @@ Integer nvim_buf_set_extmark(Buffer buffer, Integer ns_id, { buf_T *buf = find_buffer_by_handle(buffer, err); if (!buf) { - api_set_error(err, kErrorTypeValidation, "Invalid buffer id"); return 0; } |