Skip to content

Starting nvim from stdin does not work #51

@clebs

Description

@clebs

Describe the bug
When executing neovim to take stdin as a new buffer (e.g. echo "Hello World!" | nvim -) the startup screen appears and the new untitled buffer that should hold the piped contents isn't there.

Checklist

  • Checked if issue already exists
  • I'm using the latest startup.nvim version

To Reproduce
Steps to reproduce the behavior:

  1. Run echo "Hello World!" | nvim - with the plugin disabled
  2. Run echo "Hello World!" | nvim - with the plugin enabled
  3. Compare behaviour

Expected behavior
When piping content from stdin the startup screen should not appear, same as when opening a file (e.g. nvim my-file.txt).

Additional Info
Config
Not relevant

Neovim Version
v0.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions