diff options
author | Lewis Russell <lewis6991@gmail.com> | 2025-01-08 17:56:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 17:56:21 +0000 |
commit | c4b658fed8d96a4c4098ce59b01b228ef0bda62e (patch) | |
tree | 50f10b101e425a04c646d5970eed88a4318f2069 /src/nvim/tag.c | |
parent | 17b46d01e29443452ae8b607017f8f5c585d3f0a (diff) | |
parent | 6257270040bc5c61a489f7fb9d4102223c36cf89 (diff) | |
download | rneovim-c4b658fed8d96a4c4098ce59b01b228ef0bda62e.tar.gz rneovim-c4b658fed8d96a4c4098ce59b01b228ef0bda62e.tar.bz2 rneovim-c4b658fed8d96a4c4098ce59b01b228ef0bda62e.zip |
Merge pull request #31112 from famiu/refactor/options/set_option_for
refactor(options): set option value for non-current context directly
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r-- | src/nvim/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c index c676b00986..9375629abc 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -228,7 +228,7 @@ static Callback tfu_cb; // 'tagfunc' callback function /// a function (string), or function(<name>) or funcref(<name>) or a lambda. const char *did_set_tagfunc(optset_T *args) { - buf_T *buf = (buf_T *)args->os_buf; + buf_T *buf = args->os_ctx.buf; callback_free(&tfu_cb); callback_free(&buf->b_tfu_cb); |