Skip to content

New file opens with aspect ratio 1:1 #1275

Closed
@kova1max

Description

@kova1max

Description

If tree is open while file is open too, view aspect ratio is about 1:4.
image
But if I close single file and try to open it again, file will open with aspect ratio 1:1 (1 tree: 1: file)
image

Neovim version

NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3

Operating system and version

Manjaro Linux, GNOME 42.11, X11

nvim-tree version

9563a11

Minimal config

require('nvim-tree').setup{}

Steps to reproduce

  1. nvim
  2. Toggle Tree
  3. Open any file
  4. Close file
  5. Open any file
  6. Woohoo!

Expected behavior

No response

Actual behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions