Skip to content

[Bug] Prevent empty word submission #57

@filipdutescu

Description

@filipdutescu

Describe the bug

You can use an empty string as the new name, which should not be allowed.

To reproduce

Steps to reproduce the behavior:

  1. Setup renamer
  2. Call renamer.rename()
  3. Submit an empty string as the new name

Expected behavior

An error should be issued and no renaming should take place (but the popup should close).

Environment

  • Renamer: v0.3.0
  • Neovim: v0.5.1
  • OS: ArchLinux

Screenshots

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions