nvim-tree / nvim-tree/nvim-tree.lua

Replace Deprecated nvim_win_set_width

Open
#3,344 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upstream: neovim
Dominant language
Lua
Stars
8.6k
Forks
639
Avg merge
1d 14h
Merged PRs (30d)
2

Description

vim.api.nvim_win_set_width(win, width)

has been deprecated in 0.13 (nightly) however there is not yet a replacement.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for vim.api.nvim_win_set_width and inspect the surrounding window-sizing logic. Check Neovim 0.13 documentation or nightly API changes for the supported replacement; done means the deprecated call is removed without changing the file explorer's window-width behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.