Explorer view resets its width when switching files

Open Beginner friendly
#594 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
lua, neovim
Domain
devtools, frontend

Research direction

Start by tracing how the explorer width is set and how file switching through Enter or [f / ]f updates the explorer view. Check the tree view path as well, since the report highlights it. Done when changing the explorer width persists after switching files with those keys.

Written by the indexing model from the issue text.

Description

It's important for me to change the width of the explorer especially when using tree view.
The problem is that switching between files with Enter or [f / ]f , causes the explorer view to reset to its default width.

Dominant language
Lua
Stars
1.6k
Forks
104
Avg merge
16d 23h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from esmuellert/codediff.nvim

All issues in esmuellert/codediff.nvim

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.