Skip to content

refactor: avoid deprecated nvim_out_write/nvim_err_write#620

Merged
justinmk merged 1 commit intomasterfrom
refactor
Apr 10, 2026
Merged

refactor: avoid deprecated nvim_out_write/nvim_err_write#620
justinmk merged 1 commit intomasterfrom
refactor

Conversation

@justinmk
Copy link
Copy Markdown
Member

Problem:
nvim_out_write and nvim_err_write are deprecated since Nvim 0.11.

Solution:

  • Replace internal usages nvim_echo. Use ErrorMsg highlight group instead of opts.err, for back-compat with older Nvim.
  • Mark out_write() and err_write() as deprecated.

Close #588

Problem:
nvim_out_write and nvim_err_write are deprecated since Nvim 0.11.

Solution:
- Replace internal usages `nvim_echo`. Use `ErrorMsg` highlight group
  instead of `opts.err`, for back-compat with older Nvim.
- Mark out_write() and err_write() as deprecated.

Close #588
@justinmk justinmk merged commit eb8a178 into master Apr 10, 2026
22 checks passed
@justinmk justinmk deleted the refactor branch April 10, 2026 18:01
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.

remove use of nvim_out_write/nvim_err_write/nvim_err_writeln

1 participant