diff options
author | altermo <107814000+altermo@users.noreply.github.com> | 2024-06-07 17:33:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 08:33:40 -0700 |
commit | f3632e14e3a75114415050ab01c2d04a06036009 (patch) | |
tree | b3a7067d7cbde9305b01324384a0aac76e6a56ae /src/nvim/extmark.c | |
parent | 2ce4a4d91e4abee0aab8b98c47eea9fbd4849ba6 (diff) | |
download | rneovim-f3632e14e3a75114415050ab01c2d04a06036009.tar.gz rneovim-f3632e14e3a75114415050ab01c2d04a06036009.tar.bz2 rneovim-f3632e14e3a75114415050ab01c2d04a06036009.zip |
feat: get/set namespace properties #28728
ref https://github.com/neovim/neovim/pull/28432
ref https://github.com/neovim/neovim/issues/28469
Diffstat (limited to 'src/nvim/extmark.c')
-rw-r--r-- | src/nvim/extmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c index 4e47fa76fe..b592283d92 100644 --- a/src/nvim/extmark.c +++ b/src/nvim/extmark.c @@ -54,12 +54,12 @@ /// must not be used during iteration! void extmark_set(buf_T *buf, uint32_t ns_id, uint32_t *idp, int row, colnr_T col, int end_row, colnr_T end_col, DecorInline decor, uint16_t decor_flags, bool right_gravity, - bool end_right_gravity, bool no_undo, bool invalidate, bool scoped, Error *err) + bool end_right_gravity, bool no_undo, bool invalidate, Error *err) { uint32_t *ns = map_put_ref(uint32_t, uint32_t)(buf->b_extmark_ns, ns_id, NULL, NULL); uint32_t id = idp ? *idp : 0; - uint16_t flags = mt_flags(right_gravity, no_undo, invalidate, decor.ext, scoped) | decor_flags; + uint16_t flags = mt_flags(right_gravity, no_undo, invalidate, decor.ext) | decor_flags; if (id == 0) { id = ++*ns; } else { |