Skip to content

bug: oil breaks netrw #148

Closed
Closed
@txtyash

Description

Did you check the docs and existing issues?

  • I have read the docs
  • I have searched the existing issues

Neovim version (nvim -v)

NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info

Operating system/version

Linux arch 6.4.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 19:19:38 +0000 x86_64 GNU/Linux

Describe the bug

After installing oil.nvim and then opening netrw using Ex everything looks just fine but when reopening it or sorting using s, netrw is unable to show anything.

Steps To Reproduce

  1. open nvim
  2. enter cmd :Ex
  3. close netrw
  4. reopen netrw. No files visible
  5. or toggle sort in netrw using s
  6. again no files or dirs are visible

Expected Behavior

Netrw should function as normal

Directory structure

No response

Repro

-

Did you check the bug with a clean config?

  • I have confirmed that the bug reproduces with nvim -u repro.lua using the repro.lua file above.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions