Skip to content

Conversation

@YuseiUeno
Copy link

@YuseiUeno YuseiUeno commented Sep 18, 2025

Replaces usage of the deprecated nvim_buf_add_highlight across blame_stack.lua, commit_info.lua, and window_view.lua with the modern Extmark API function nvim_buf_set_extmark.

This transition ensures compatibility and future-proofs the codebase, as the highlighting feature is now handled through Extmarks using the hl_group option.

https://neovim.io/doc/user/deprecated.html#deprecated-0.11

nvim_buf_add_highlight() Use vim.hl.range() or nvim_buf_set_extmark()

I used nvim_buf_set_extmark.

https://neovim.io/doc/user/api.html#nvim_buf_set_extmark()

…_extmark

Replaces usage of the deprecated `nvim_buf_add_highlight` across `blame_stack.lua`, `commit_info.lua`, and `window_view.lua` with the modern Extmark API function `nvim_buf_set_extmark`.

This transition ensures compatibility and future-proofs the codebase, as the highlighting feature is now handled through Extmarks using the `hl_group` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant